- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-05-12 09:03:32 +00:00
parent a81094ec2c
commit f763a193b8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=415053
2 changed files with 8 additions and 9 deletions

View file

@ -11,10 +11,13 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Terminal mixer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
DOCS= ChangeLog DOCS index.html
MAKE_ENV= LINUX_LIBS=-lutil
PLIST_FILES= bin/tm
PORTDOCS= ChangeLog DOCS index.html
OPTIONS_DEFINE= DOCS
post-extract:
@ -26,11 +29,11 @@ post-patch:
@${REINPLACE_CMD} -e 's|pty.h|libutil.h|' ${WRKSRC}/app_term.c
@${ECHO_CMD} '#include <string.h>' >> ${WRKSRC}/main.h
.include <bsd.port.options.mk>
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,4 +0,0 @@
bin/tm
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/DOCS
%%PORTDOCS%%%%DOCSDIR%%/index.html