pkgsrc/net/mrt/Makefile

35 lines
960 B
Makefile
Raw Normal View History

2008-06-16 16:54:41 +02:00
# $NetBSD: Makefile,v 1.11 2008/06/16 14:54:41 joerg Exp $
#
DISTNAME= mrt-2.2.2a-Aug11
PKGNAME= mrt-2.2.2a.20000811
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mrtd.net/
COMMENT= Multi-threaded Routing Toolkit
WRKSRC= ${WRKDIR}/mrt/src
GNU_CONFIGURE= yes
PLIST_SRC= ${WRKSRC}/.PLIST_SRC
2008-06-16 16:54:41 +02:00
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} ${WRKSRC}/programs/*/*.conf \
2008-06-16 16:54:41 +02:00
${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 | \
${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC})
.include "../../mk/bsd.pkg.mk"