From eeadb16b156c5d21e71428802733282cc6b70edc Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 26 Aug 2015 18:13:06 +0000 Subject: - Add LICENSE_FILE - Add NO_ARCH - Remove unused and deprecated MAN1 - Switch to options helpers Approved by: portmgr blanket --- graphics/import-pictures/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'graphics/import-pictures/Makefile') diff --git a/graphics/import-pictures/Makefile b/graphics/import-pictures/Makefile index 23a5b5020e82..341ade5cfa21 100644 --- a/graphics/import-pictures/Makefile +++ b/graphics/import-pictures/Makefile @@ -11,31 +11,28 @@ MAINTAINER= freebsd@nagilum.org COMMENT= Utility to copy/move pictures from a directory LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= p5-Image-ExifTool>=0:${PORTSDIR}/graphics/p5-Image-ExifTool \ p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \ p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules USES= gmake perl5 shebangfix tar:bzip2 - -MAN1= ${PORTNAME}.1 +NO_ARCH= yes PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz PORTDOCS= import-pictures.html SHEBANG_FILES= ${WRKSRC}/${PORTNAME} -SHEBANG_LANG= perl OPTIONS_DEFINE= DOCS -.include - post-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} -.endif .include -- cgit v1.2.3