- Clarify LICENSE

- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-05-07 09:03:29 +00:00
parent 94e759fdb5
commit 3068d574eb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414768

View file

@ -9,20 +9,20 @@ MASTER_SITES= http://os.inf.tu-dresden.de/~adam/stowES/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Stow enhancement script
LICENSE= GPLv2
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= stow:sysutils/stow
OPTIONS_DEFINE= DOCS
USES= gmake perl5
GNU_CONFIGURE= yes
NO_ARCH= yes
PORTDOCS= AUTHORS ChangeLog NEWS README TODO \
${PORTNAME}.html ${PORTNAME}.pod ${PORTNAME}.txt
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e "s|'md5sum',|'md5',|" ${WRKSRC}/${PORTNAME}.in
@ -30,6 +30,8 @@ post-patch:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_SCRIPT} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}