diff options
author | joerg <joerg@pkgsrc.org> | 2008-04-07 18:08:18 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-04-07 18:08:18 +0000 |
commit | c548360671b25febcc5df0cc44fe64404bb99369 (patch) | |
tree | f81be5b2a4f28688de3b096c2c20bb70aecb4307 /games/tetrinetx | |
parent | 536037bddc3485cc90d1f5600eab965100b227e6 (diff) | |
download | pkgsrc-c548360671b25febcc5df0cc44fe64404bb99369.tar.gz |
Fix DESTDIR.
Diffstat (limited to 'games/tetrinetx')
-rw-r--r-- | games/tetrinetx/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/games/tetrinetx/Makefile b/games/tetrinetx/Makefile index e36d75a7dcf..8ba6fb2ea22 100644 --- a/games/tetrinetx/Makefile +++ b/games/tetrinetx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/03/04 06:59:06 jlam Exp $ +# $NetBSD: Makefile,v 1.6 2008/04/07 18:13:27 joerg Exp $ DISTNAME= tetrinetx-1.13.16+qirc-1.40c PKGNAME= tetrinetx-1.13.16 @@ -19,6 +19,8 @@ RCD_SCRIPTS= tetrinetx LIBS.SunOS+= -lsocket -lnsl -lresolv +INSTALLATION_DIRS= bin ${SHAREDIR} + do-build: cd ${WRKSRC:Q}/src && \ ${CC} \ @@ -30,9 +32,8 @@ do-build: main.c do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${SHAREDIR} ${INSTALL_PROGRAM} ${WRKSRC:Q}/bin/${BINARY:Q} \ - ${DESTDIR}${PREFIX:Q}/bin/tetrix + ${DESTDIR}${PREFIX}/bin/tetrix ${INSTALL_DATA} ${WRKSRC:Q}/bin/game.conf ${DESTDIR}${SHAREDIR:Q} ${INSTALL_DATA} ${WRKSRC:Q}/bin/game.secure ${DESTDIR}${SHAREDIR:Q} ${INSTALL_DATA} ${WRKSRC:Q}/bin/game.motd ${DESTDIR}${SHAREDIR:Q} |