summaryrefslogtreecommitdiff
path: root/net/mrt/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2008-06-16 14:54:41 +0000
committerjoerg <joerg>2008-06-16 14:54:41 +0000
commit12c40b38ffdefa7843133af3d273f173621ed2b8 (patch)
treeaf2cd2d5d92d7d1fbf18ec391f7c3a3e120ce118 /net/mrt/Makefile
parent1ab58c5f7ca58b87fe8a6da18d62c52b3dcc4607 (diff)
downloadpkgsrc-12c40b38ffdefa7843133af3d273f173621ed2b8.tar.gz
Fix installation.
Diffstat (limited to 'net/mrt/Makefile')
-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 | \