diff options
author | nork <nork@FreeBSD.org> | 2004-06-13 18:21:31 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-06-13 18:21:31 +0800 |
commit | aefe3cd8c06a718b1dbbb4146a5d803e0ef568c3 (patch) | |
tree | 1af1023571e7132bdac556736fbfdd930083a358 /net/irrd/Makefile | |
parent | e05bd782f15f4420f1a10c23175a595b42e524f3 (diff) | |
download | freebsd-ports-gnome-aefe3cd8c06a718b1dbbb4146a5d803e0ef568c3.tar.gz freebsd-ports-gnome-aefe3cd8c06a718b1dbbb4146a5d803e0ef568c3.tar.zst freebsd-ports-gnome-aefe3cd8c06a718b1dbbb4146a5d803e0ef568c3.zip |
o Add a rcNG script.
o Add dependency on ftp/wget.
o Fix re-close(3) problem.
o Add signal mask if already signaled.
Submitted by: TAKANO Yuji <takano@net-chef.net> (maintainer)
Diffstat (limited to 'net/irrd/Makefile')
-rw-r--r-- | net/irrd/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/net/irrd/Makefile b/net/irrd/Makefile index 463c5f0af6e6..aaf1ad9bf75a 100644 --- a/net/irrd/Makefile +++ b/net/irrd/Makefile @@ -17,10 +17,14 @@ COMMENT= Internet Routing Registry database server WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/src +RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget + MAN8= irrd.8 IRRD_CONFDIR= ${PREFIX}/etc +RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} +USE_RC_SUBR= yes USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_ENV= YACC="${YACC}" @@ -33,7 +37,7 @@ CONFIGURE_ARGS+= --enable-ipv6 .endif post-patch: - ${REINPLACE_CMD} -e 's|/etc/irrd.conf|${PREFIX}/etc/irrd.conf|g' \ + ${REINPLACE_CMD} -e 's|/etc/irrd.conf|${IRRD_CONFDIR}/irrd.conf|g' \ ${WRKSRC}/programs/IRRd/irrd.8 \ ${WRKSRC}/programs/IRRd/main.c \ ${WRKSRC}/programs/hdr_comm/read_conf.c \ @@ -43,11 +47,16 @@ post-patch: ${WRKSRC}/programs/irrdcacher/irrdcacher \ ${WRKSRC}/programs/rps_dist/rpsdist.c +post-build: + ${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ + ${FILESDIR}/irrd.sh > ${WRKDIR}/irrd.sh + post-install: @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/irrdcacher ${PREFIX}/sbin @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/ripe2rpsl ${PREFIX}/sbin @${INSTALL_SCRIPT} ${WRKSRC}/programs/irrdcacher/update_source ${PREFIX}/sbin @${INSTALL_DATA} ${WRKSRC}/../samples/irrd.conf.sample ${IRRD_CONFDIR} @${INSTALL_DATA} ${WRKSRC}/programs/IRRd/irrd.8 ${PREFIX}/man/man8 + @${INSTALL_SCRIPT} ${WRKDIR}/irrd.sh ${PREFIX}/etc/rc.d .include <bsd.port.mk> |