summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2008-04-07 18:08:18 +0000
committerjoerg <joerg>2008-04-07 18:08:18 +0000
commitfde43f6e4535a4a0f8e38b87f21bd5392c080fe6 (patch)
treef81be5b2a4f28688de3b096c2c20bb70aecb4307
parent656a6085368e578091cb5fb08058746f74cbc841 (diff)
downloadpkgsrc-fde43f6e4535a4a0f8e38b87f21bd5392c080fe6.tar.gz
Fix DESTDIR.
-rw-r--r--fonts/thaixfonts/Makefile4
-rw-r--r--games/tetrinetx/Makefile7
-rw-r--r--mail/t-prot/Makefile5
3 files changed, 9 insertions, 7 deletions
diff --git a/fonts/thaixfonts/Makefile b/fonts/thaixfonts/Makefile
index f133f153b24..d9985af4fee 100644
--- a/fonts/thaixfonts/Makefile
+++ b/fonts/thaixfonts/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/03 20:17:12 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2008/04/07 18:14:16 joerg Exp $
#
DISTNAME= thaixfonts-1.1-3.noarch
@@ -20,6 +20,7 @@ USE_X11BASE= yes
MAKE_ENV+= FONTDIR=${FONTDIR}
FONTDIR= ${PREFIX}/lib/X11/fonts/thaixfonts/
+INSTALLATION_DIRS= ${FONTDIR}
WRKSRC= ${WRKDIR}/usr/share/fonts/TIS-620/misc/
@@ -31,7 +32,6 @@ do-extract:
cpio -i --make-directories \*
do-install:
- ${INSTALL_DATA_DIR} ${FONTDIR}
cd ${WRKSRC} && ${INSTALL_DATA} *.gz fonts.* ${DESTDIR}${FONTDIR}
.include "../../mk/bsd.pkg.mk"
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}
diff --git a/mail/t-prot/Makefile b/mail/t-prot/Makefile
index 9cfdc02d0e0..a7d4772dbff 100644
--- a/mail/t-prot/Makefile
+++ b/mail/t-prot/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2008/03/04 17:57:20 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/04/07 18:08:18 joerg Exp $
#
DISTNAME= t-prot-2.5
@@ -15,13 +15,14 @@ PKG_DESTDIR_SUPPORT= user-destdir
REPLACE_PERL+= t-prot
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/t-prot
+
do-configure do-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/t-prot ${DESTDIR}${PREFIX}/bin/t-prot
${INSTALL_MAN} ${WRKSRC}/t-prot.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/t-prot.1
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/t-prot
${INSTALL_DATA} ${WRKSRC}/contrib/muttrc.t-prot \
${DESTDIR}${PREFIX}/share/doc/t-prot/