aboutsummaryrefslogtreecommitdiff
path: root/misc/termatrix
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
committerEitan Adler <eadler@FreeBSD.org>2013-03-25 04:30:31 +0000
commitfd37d8821fdc48edb0c489017447cb8ee865c5b9 (patch)
treee9502ec9d580c1cb296d2b6e887c07a0737f2b7c /misc/termatrix
parent48c429ec3a76441cc6a3dba681f911b9b7eccb7f (diff)
downloadports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.tar.gz
ports-fd37d8821fdc48edb0c489017447cb8ee865c5b9.zip
Notes
Diffstat (limited to 'misc/termatrix')
-rw-r--r--misc/termatrix/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/termatrix/Makefile b/misc/termatrix/Makefile
index 1c130b855f11..308870e588bf 100644
--- a/misc/termatrix/Makefile
+++ b/misc/termatrix/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: termatrix
-# Date created: 2007/07/30
-# Whom: chinsan
-#
+# Created by: chinsan
# $FreeBSD$
-#
PORTNAME= termatrix
PORTVERSION= 0.2
@@ -17,13 +13,15 @@ COMMENT= Emulates Matrix terminal's "green tears" effect
PLIST_FILES= bin/termatrix
PORTDOCS= README
+.include <bsd.port.options.mk>
+
do-build:
${CC} ${CFLAGS} ${CPPFLAGS} -o ${WRKSRC}/termatrix \
${WRKSRC}/termatrix.c ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/termatrix ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif