1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Add LICENSE_FILE

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-04-03 12:02:37 +00:00
parent 1d32eaa140
commit 1665f8c1ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412465

View File

@ -11,16 +11,21 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Emulates Matrix terminal's "green tears" effect
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/termatrix
PORTDOCS= README
OPTIONS_DEFINE= DOCS
do-build:
${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/termatrix \
${WRKSRC}/termatrix.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/termatrix ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}