summaryrefslogtreecommitdiff
path: root/net/mrt/Makefile
diff options
context:
space:
mode:
authoritojun <itojun@pkgsrc.org>2000-10-15 17:36:42 +0000
committeritojun <itojun@pkgsrc.org>2000-10-15 17:36:42 +0000
commit3229d1026747d15d0361dda7b6a9e7c09a404d04 (patch)
treee20a0fce5b10f4b76c6cfeb0862c3692390303f1 /net/mrt/Makefile
parentf2f5d1d952fdd721351a7739d3ded001b71bcf44 (diff)
downloadpkgsrc-3229d1026747d15d0361dda7b6a9e7c09a404d04.tar.gz
mrt, merit's multithreaded routing toolkit
Diffstat (limited to 'net/mrt/Makefile')
-rw-r--r--net/mrt/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/net/mrt/Makefile b/net/mrt/Makefile
new file mode 100644
index 00000000000..796d3c27d3f
--- /dev/null
+++ b/net/mrt/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:36:42 itojun Exp $
+#
+
+DISTNAME= mrt-2.2.2a-Aug11
+PKGNAME= mrt-2.2.2a.20000811
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.mrtd.net/
+
+WRKSRC= ${WRKDIR}/mrt/src
+GNU_CONFIGURE= yes
+
+PLIST_SRC= ${WRKSRC}/.PLIST_SRC
+
+# 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}
+ ${MKDIR} ${PREFIX}/share/examples/mrt
+ ${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \
+ ${PREFIX}/share/examples/mrt
+ (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \
+ >> ${PLIST_SRC})
+ (cd ${PREFIX}; ${FIND} -d share/examples/mrt -type d -print | \
+ ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
+
+.include "../../mk/bsd.pkg.mk"