aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-28 15:05:15 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-28 15:05:15 +0800
commit8b7cb0270baae414376d24d104cb85b0bb268e0f (patch)
treed0ea58777d3e2ade688babe7663b2fabcac5da2d
parent98c68ca76f62752f7bc60269ef32ef433ab6fba6 (diff)
downloadfreebsd-ports-gnome-8b7cb0270baae414376d24d104cb85b0bb268e0f.tar.gz
freebsd-ports-gnome-8b7cb0270baae414376d24d104cb85b0bb268e0f.tar.zst
freebsd-ports-gnome-8b7cb0270baae414376d24d104cb85b0bb268e0f.zip
- Support staging
- USES -> gmake
-rw-r--r--misc/cmatrix/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/misc/cmatrix/Makefile b/misc/cmatrix/Makefile
index 828458a7f9da..54dbff003edd 100644
--- a/misc/cmatrix/Makefile
+++ b/misc/cmatrix/Makefile
@@ -10,27 +10,20 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Show a scrolling 'Matrix' like screen
-MAN1= cmatrix.1
-
-USE_GMAKE= yes
+USES= gmake
GNU_CONFIGURE= yes
-PORTDOCS= ChangeLog README TODO
-PLIST_FILES= bin/cmatrix
-NO_STAGE= yes
+PORTDOCS= ChangeLog README TODO
+PLIST_FILES= bin/cmatrix man/man1/cmatrix.1.gz
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${STAGEDIR}${MANPREFIX}/man/man1
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>