aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/gprename
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-02-16 13:13:54 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-02-16 13:13:54 +0800
commite543fe8f03b04475bd2b53130d576437a09720fc (patch)
tree7a05d1d11fbc5b11553a02936e11438eca03768b /x11-fm/gprename
parentfa0d00a38a54f9425fdd0ffdf4519dfa9c6d10b1 (diff)
downloadfreebsd-ports-gnome-e543fe8f03b04475bd2b53130d576437a09720fc.tar.gz
freebsd-ports-gnome-e543fe8f03b04475bd2b53130d576437a09720fc.tar.zst
freebsd-ports-gnome-e543fe8f03b04475bd2b53130d576437a09720fc.zip
- Fix license
- Switch to options helpers
Diffstat (limited to 'x11-fm/gprename')
-rw-r--r--x11-fm/gprename/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-fm/gprename/Makefile b/x11-fm/gprename/Makefile
index 4bd1930aa08b..10b8614abb48 100644
--- a/x11-fm/gprename/Makefile
+++ b/x11-fm/gprename/Makefile
@@ -10,21 +10,21 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Perl script for renaming multiple files
-LICENSE= GPLv3
+LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
-OPTIONS_DEFINE= DOCS
-
RUN_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
p5-Locale-gettext>=0:${PORTSDIR}/devel/p5-Locale-gettext
WRKSRC= ${WRKDIR}/${PORTNAME}/trunk
-USE_PERL5= run
USES= gettext perl5 tar:bzip2 shebangfix
+USE_PERL5= run
SHEBANG_FILES= bin/gprename
NO_BUILD= yes
+OPTIONS_DEFINE= DOCS
+
post-extract:
@${RM} -rf ${WRKSRC}/build
@@ -36,7 +36,7 @@ post-patch:
s|uninstall build|build| ; \
s|share/man|man|' ${WRKSRC}/Makefile
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}