summaryrefslogtreecommitdiff
path: root/net/mrt/Makefile
diff options
context:
space:
mode:
authoritojun <itojun>2000-10-15 17:36:42 +0000
committeritojun <itojun>2000-10-15 17:36:42 +0000
commit6f1b22e78054b1f53489e97561316d0f34ad07cd (patch)
treee20a0fce5b10f4b76c6cfeb0862c3692390303f1 /net/mrt/Makefile
parentd3e87adc8f007003d374a7827e8fb35db47ca147 (diff)
downloadpkgsrc-6f1b22e78054b1f53489e97561316d0f34ad07cd.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"