aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
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}