diff options
author | zi <zi@FreeBSD.org> | 2014-02-14 22:59:28 +0800 |
---|---|---|
committer | zi <zi@FreeBSD.org> | 2014-02-14 22:59:28 +0800 |
commit | a14dbcf87ae6e27e1783e4aef3863d0905a735da (patch) | |
tree | 2817a0be802633b2bba6b195abcd9eee0b6470c0 /net | |
parent | 8669d2b1746445461f1050eb30c25d1434bf70f8 (diff) | |
download | freebsd-ports-gnome-a14dbcf87ae6e27e1783e4aef3863d0905a735da.tar.gz freebsd-ports-gnome-a14dbcf87ae6e27e1783e4aef3863d0905a735da.tar.zst freebsd-ports-gnome-a14dbcf87ae6e27e1783e4aef3863d0905a735da.zip |
- Add STAGE support
- Fix typo in rc script [1]
- Bump PORTREVISION
Reported by: feld@ [1]
Diffstat (limited to 'net')
-rw-r--r-- | net/exabgp/Makefile | 16 | ||||
-rw-r--r-- | net/exabgp/files/exabgp.in | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/net/exabgp/Makefile b/net/exabgp/Makefile index c42e6702087e..c03225012fc0 100644 --- a/net/exabgp/Makefile +++ b/net/exabgp/Makefile @@ -3,6 +3,7 @@ PORTNAME= exabgp PORTVERSION= 3.2.18 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= GH GHC \ http://mirrors.rit.edu/zi/ @@ -28,7 +29,6 @@ GROUPS= _bgpd MAN1= ${PORTNAME}.1 -NO_STAGE= yes OPTIONS_DEFINE= EXAMPLES @@ -41,16 +41,16 @@ do-build: ${PYTHON_CMD} -m compileall ${WRKSRC}/lib do-install: - ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/sbin/${PORTNAME} - ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${PREFIX}/man/man1 - @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME} ${ETCDIR} - (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${PYTHON_SITELIBDIR}) + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME} + ${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 + @${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR} + (cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}) .if ${PORT_OPTIONS:MEXAMPLES} - @${MKDIR} ${EXAMPLESDIR} - (cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif @if [ ! -f ${ETCDIR}/exabgp.env ]; then \ - ${CP} ${FILESDIR}/exabgp.env ${ETCDIR} ; \ + ${CP} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR} ; \ fi post-install: diff --git a/net/exabgp/files/exabgp.in b/net/exabgp/files/exabgp.in index 4cc7cb63b92b..f4a1e3c02dbb 100644 --- a/net/exabgp/files/exabgp.in +++ b/net/exabgp/files/exabgp.in @@ -48,7 +48,7 @@ exabgp_start() ${procname} ${command} --folder %%ETCDIR%% ${exabgp_conf} } -exabgp_reload_all() { +exabgp_reload_all() { echo "Reloading exabgp configuration and processes." kill -USR2 $rc_pid |