summaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authorjoerg <joerg>2008-08-12 14:39:12 +0000
committerjoerg <joerg>2008-08-12 14:39:12 +0000
commit452d4c9a8026d427609fe257bf53e1a4b494beea (patch)
treec1b145593fc0080431f118e1857f393fb553aea6 /net/mrt
parent9b2b057be6f764e4917c1326fbd8fd47cd166395 (diff)
downloadpkgsrc-452d4c9a8026d427609fe257bf53e1a4b494beea.tar.gz
Precreate missing directories. Prepare for destdir.
Diffstat (limited to 'net/mrt')
-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"