aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:13:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-27 02:13:06 +0800
commit51b39776f7f1f47dc149755dd380c5bc22ba9618 (patch)
treea1147f5b6f2e7529e8d8411dfdc4078283832890 /graphics
parentb151693414ffd244d3b13731a54d8fef158ab988 (diff)
downloadfreebsd-ports-gnome-51b39776f7f1f47dc149755dd380c5bc22ba9618.tar.gz
freebsd-ports-gnome-51b39776f7f1f47dc149755dd380c5bc22ba9618.tar.zst
freebsd-ports-gnome-51b39776f7f1f47dc149755dd380c5bc22ba9618.zip
- Add LICENSE_FILE
- Add NO_ARCH - Remove unused and deprecated MAN1 - Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'graphics')
-rw-r--r--graphics/import-pictures/Makefile13
-rw-r--r--graphics/import-pictures/files/patch-Makefile4
2 files changed, 7 insertions, 10 deletions
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 <bsd.port.options.mk>
-
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 <bsd.port.mk>
diff --git a/graphics/import-pictures/files/patch-Makefile b/graphics/import-pictures/files/patch-Makefile
index 845f725ab62f..12e092c3e204 100644
--- a/graphics/import-pictures/files/patch-Makefile
+++ b/graphics/import-pictures/files/patch-Makefile
@@ -1,5 +1,5 @@
---- ../../import-pictures-1.4/Makefile 2007-02-18 22:14:32.000000000 +0100
-+++ Makefile 2008-05-07 10:38:19.000000000 +0200
+--- Makefile.orig 2007-02-18 21:14:32 UTC
++++ Makefile
@@ -3,3 +3,6 @@