| @@ -1,33 +1,34 @@ | | | @@ -1,33 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.10 2006/03/22 23:55:37 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.11 2008/06/16 14:54:41 joerg Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= mrt-2.2.2a-Aug11 | | 4 | DISTNAME= mrt-2.2.2a-Aug11 |
5 | PKGNAME= mrt-2.2.2a.20000811 | | 5 | PKGNAME= mrt-2.2.2a.20000811 |
6 | PKGREVISION= 1 | | 6 | PKGREVISION= 1 |
7 | CATEGORIES= net | | 7 | CATEGORIES= net |
8 | MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/ | | 8 | MASTER_SITES= ftp://ftp.merit.edu/net-research/mrt/ |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= http://www.mrtd.net/ | | 11 | HOMEPAGE= http://www.mrtd.net/ |
12 | COMMENT= Multi-threaded Routing Toolkit | | 12 | COMMENT= Multi-threaded Routing Toolkit |
13 | | | 13 | |
14 | WRKSRC= ${WRKDIR}/mrt/src | | 14 | WRKSRC= ${WRKDIR}/mrt/src |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | | | 16 | |
17 | PLIST_SRC= ${WRKSRC}/.PLIST_SRC | | 17 | PLIST_SRC= ${WRKSRC}/.PLIST_SRC |
18 | | | 18 | |
| | | 19 | INSTALLATION_DIRS= sbin share/examples/mrt |
| | | 20 | |
19 | # nuke yet-to-be-ready directories, configure.in is written in a strange way | | 21 | # nuke yet-to-be-ready directories, configure.in is written in a strange way |
20 | post-extract: | | 22 | post-extract: |
21 | (cd ${WRKSRC}/programs; ${RM} -fr route_tracker sospf srip) | | 23 | (cd ${WRKSRC}/programs; ${RM} -fr route_tracker sospf srip) |
22 | | | 24 | |
23 | post-install: | | 25 | post-install: |
24 | ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} | | 26 | ${CAT} ${PKGDIR}/PLIST.pre >${PLIST_SRC} |
25 | ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/mrt | | | |
26 | ${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \ | | 27 | ${INSTALL_DATA} ${WRKSRC}/programs/*/*.conf \ |
27 | ${PREFIX}/share/examples/mrt | | 28 | ${DESTDIR}${PREFIX}/share/examples/mrt |
28 | (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \ | | 29 | (cd ${PREFIX}; ${FIND} share/examples/mrt -type f -print \ |
29 | >> ${PLIST_SRC}) | | 30 | >> ${PLIST_SRC}) |
30 | (cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \ | | 31 | (cd ${PREFIX}; ${FIND} share/examples/mrt -type d -print | \ |
31 | ${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) | | 32 | ${SORT} -r | ${SED} -e "s/^/@dirrm /" >>${PLIST_SRC}) |
32 | | | 33 | |
33 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |