- Clarify LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers
This commit is contained in:
parent
94e759fdb5
commit
3068d574eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414768
1 changed files with 6 additions and 4 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in a new issue