- Fix license

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-02-16 05:13:54 +00:00
parent cee6ed7874
commit 174ce02e93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=408974

View file

@ -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}