summaryrefslogtreecommitdiff
path: root/net/mrt/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2008-08-12 14:39:12 +0000
committerjoerg <joerg>2008-08-12 14:39:12 +0000
commit3f671c58d7d8f324266f6fdd9d61377808173225 (patch)
treec1b145593fc0080431f118e1857f393fb553aea6 /net/mrt/Makefile
parent51736163a71a338be09fd1dd84f3ed149d706bf9 (diff)
downloadpkgsrc-3f671c58d7d8f324266f6fdd9d61377808173225.tar.gz
Precreate missing directories. Prepare for destdir.
Diffstat (limited to 'net/mrt/Makefile')
-rw-r--r--net/mrt/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
index 5643e7a5518..bf8bdb3dea2 100644
--- a/net/mrt/Makefile
+++ b/net/mrt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/06/16 14:54:41 joerg Exp $
+# $NetBSD: Makefile,v 1.12 2008/08/12 14:39:12 joerg Exp $
#
DISTNAME= mrt-2.2.2a-Aug11
@@ -16,7 +16,7 @@ GNU_CONFIGURE= yes
PLIST_SRC= ${WRKSRC}/.PLIST_SRC
-INSTALLATION_DIRS= sbin share/examples/mrt
+INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/examples/mrt
# nuke yet-to-be-ready directories, configure.in is written in a strange way
post-extract:
@@ -26,9 +26,9 @@ post-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \
${DESTDIR}${PREFIX}/share/examples/mrt
- (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \
+ (cd ${DESTDIR}${PREFIX}; ${FIND} share/examples/mrt -type f -print \
>> ${PLIST_SRC})
- (cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \
+ (cd ${DESTDIR}${PREFIX}; ${FIND} share/examples/mrt -type d -print | \
${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"