summaryrefslogtreecommitdiff
path: root/games/cmatrix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/cmatrix/Makefile')
-rw-r--r--games/cmatrix/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/games/cmatrix/Makefile b/games/cmatrix/Makefile
index 341d1c87f00..7bc13d7f384 100644
--- a/games/cmatrix/Makefile
+++ b/games/cmatrix/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/01/07 09:13:54 rillig Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/04 06:59:03 jlam Exp $
#
DISTNAME= cmatrix-1.2a
@@ -9,14 +9,18 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.asty.org/cmatrix/
COMMENT= Make your console feel like Nadbuchonazor's bridge
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${PREFIX}/bin/cmatrix
- ${INSTALL_MAN} ${WRKSRC}/cmatrix.1 ${PREFIX}/${PKGMANDIR}/man1/cmatrix.1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/cmatrix
- ${INSTALL_DATA} ${WRKSRC}/mtx.pcf ${PREFIX}/share/cmatrix/mtx.pcf
+ ${INSTALL_PROGRAM} ${WRKSRC}/cmatrix ${DESTDIR}${PREFIX}/bin/cmatrix
+ ${INSTALL_MAN} ${WRKSRC}/cmatrix.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/cmatrix.1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/cmatrix
+ ${INSTALL_DATA} ${WRKSRC}/mtx.pcf \
+ ${DESTDIR}${PREFIX}/share/cmatrix/mtx.pcf
.include "../../mk/bsd.pkg.mk"