# New ports collection makefile for: pgallery
# Date created: 27 Aug 2012
# Whom: Aron Schlesinger <as@paefchen.net
#
# $Paefchen: scripts/pgallery/port/Makefile,v 1.4 2012/08/29 14:17:14 as Exp $
#
PORTNAME= pgallery
PORTVERSION= 1.3
CATEGORIES= www
MASTER_SITES= http://www.paefchen.net/~as/freebsd/distfiles/
DISTNAME= ${PORTNAME}-${DISTVERSION}
MAINTAINER= as@paefchen.de
COMMENT= create simple web gallery
# ${EXAMPLESDIR}
PORTEXAMPLES= ${PORTNAME}.conf
NO_BUILD= yes
RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick
RUN_DEPENDS+= imginfo:${PORTSDIR}/graphics/jasper
RUN_DEPENDS+= exifautotran:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS+= exiftran:${PORTSDIR}/graphics/exiftran
RUN_DEPENDS+= exif:${PORTSDIR}/graphics/exif
PLIST_FILES= bin/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>