--- scripts/pgallery/port/Makefile 2012/08/27 14:23:55 1.1 +++ scripts/pgallery/port/Makefile 2017/12/07 14:23:56 1.6 @@ -1,12 +1,12 @@ # New ports collection makefile for: pgallery -# Date created: 27 Aug 2012 -# Whom: Aron Schlesinger # -# $Paefchen: FreeBSD/ports/genpass/Makefile,v 1.1 2008/03/10 15:55:26 as Exp $ +# $Paefchen: scripts/pgallery/port/Makefile,v 1.5 2012/09/11 16:43:01 as Exp $ # PORTNAME= pgallery -PORTVERSION= 1 +PORTVERSION= 1.4 CATEGORIES= www MASTER_SITES= http://www.paefchen.net/~as/freebsd/distfiles/ DISTNAME= ${PORTNAME}-${DISTVERSION} @@ -14,15 +14,29 @@ DISTNAME= ${PORTNAME}-${DISTVERSION} MAINTAINER= as@paefchen.de COMMENT= create simple web gallery +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 +RUN_DEPENDS+= jpeginfo:${PORTSDIR}/graphics/jpeginfo +RUN_DEPENDS+= iconv:${PORTSDIR}/converters/iconv PLIST_FILES= bin/${PORTNAME} +PLIST_FILES+= bin/${PORTNAME}index +PLIST_FILES+= libexec/lib${PORTNAME} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}index.sh ${PREFIX}/bin/${PORTNAME}index + ${INSTALL_SCRIPT} ${WRKSRC}/lib${PORTNAME}.sh ${PREFIX}/libexec/lib${PORTNAME} +.if !defined(NOPORTEXAMPLES) + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${EXAMPLESDIR} +.endif .include