2012-10-23 19:18:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.16 2012/10/23 17:18:38 asau Exp $
|
2000-10-15 19:36:42 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= mrt-2.2.2a-Aug11
|
|
|
|
PKGNAME= mrt-2.2.2a.20000811
|
2006-03-23 00:55:37 +01:00
|
|
|
PKGREVISION= 1
|
2000-10-15 19:36:42 +02:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2000-10-15 19:36:42 +02:00
|
|
|
HOMEPAGE= http://www.mrtd.net/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Multi-threaded Routing Toolkit
|
2000-10-15 19:36:42 +02:00
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/mrt/src
|
2000-10-15 19:36:42 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-03-21 05:53:49 +01:00
|
|
|
DESTDIR_VARNAME= # empty
|
|
|
|
INSTALL_MAKE_FLAGS+= DESTDIR=${DESTDIR}${PREFIX}/sbin
|
|
|
|
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
|
2000-10-15 19:36:42 +02:00
|
|
|
|
|
|
|
PLIST_SRC= ${WRKSRC}/.PLIST_SRC
|
|
|
|
|
2008-08-12 16:39:12 +02:00
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/examples/mrt
|
2008-06-16 16:54:41 +02:00
|
|
|
|
2000-10-15 19:36:42 +02:00
|
|
|
# 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} ${WRKSRC}/programs/*/*.conf \
|
2008-06-16 16:54:41 +02:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/mrt
|
2008-08-12 16:39:12 +02:00
|
|
|
(cd ${DESTDIR}${PREFIX}; ${FIND} share/examples/mrt -type f -print \
|
2000-10-15 19:36:42 +02:00
|
|
|
>> ${PLIST_SRC})
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|