aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-04-03 20:02:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-04-03 20:02:37 +0800
commit86206cc5191b32cfb8ed0dddfcfb5d97645c7dab (patch)
treede2e5bc880dea1ce194e625234176671b114dbb9 /misc
parent66bf9857d6884e9dbbd7655dbf556791fd3744b8 (diff)
downloadfreebsd-ports-gnome-86206cc5191b32cfb8ed0dddfcfb5d97645c7dab.tar.gz
freebsd-ports-gnome-86206cc5191b32cfb8ed0dddfcfb5d97645c7dab.tar.zst
freebsd-ports-gnome-86206cc5191b32cfb8ed0dddfcfb5d97645c7dab.zip
- Add LICENSE_FILE
- Switch to options helpers
Diffstat (limited to 'misc')
-rw-r--r--misc/termatrix/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/termatrix/Makefile b/misc/termatrix/Makefile
index 397992772c4a..bc724155c479 100644
--- a/misc/termatrix/Makefile
+++ b/misc/termatrix/Makefile
@@ -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}