summaryrefslogtreecommitdiff
path: root/net/mrt
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-16 14:54:41 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-16 14:54:41 +0000
commit44ae0c27dfc965f0d1f27c5b807cd84b35283ae2 (patch)
treeaf2cd2d5d92d7d1fbf18ec391f7c3a3e120ce118 /net/mrt
parent31bd121371746ddd18405d0b8e546017a9062729 (diff)
downloadpkgsrc-44ae0c27dfc965f0d1f27c5b807cd84b35283ae2.tar.gz
Fix installation.
Diffstat (limited to 'net/mrt')
-rw-r--r--net/mrt/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
index acd383ec35b..5643e7a5518 100644
--- a/net/mrt/Makefile
+++ b/net/mrt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/03/22 23:55:37 joerg Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/16 14:54:41 joerg Exp $
#
DISTNAME= mrt-2.2.2a-Aug11
@@ -16,15 +16,16 @@ GNU_CONFIGURE= yes
PLIST_SRC= ${WRKSRC}/.PLIST_SRC
+INSTALLATION_DIRS= sbin share/examples/mrt
+
# nuke yet-to-be-ready directories, configure.in is written in a strange way
post-extract:
(cd ${WRKSRC}/programs; ${RM} -fr route_tracker sospf srip)
post-install:
${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC}
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mrt
${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \
- ${PREFIX}/share/examples/mrt
+ ${DESTDIR}${PREFIX}/share/examples/mrt
(cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \
>> ${PLIST_SRC})
(cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \