aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-03-25 08:19:00 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-03-25 08:19:00 +0000
commit171d2a4d21a6ce5d8dcbbb0779e0739d402ccace (patch)
tree0d74dbd25b6c685e444600b7023667c596c12d48 /net
parent0a1c5bdf9bc8e74d6750a180dd074db1be4ff45e (diff)
downloadports-171d2a4d21a6ce5d8dcbbb0779e0739d402ccace.tar.gz
ports-171d2a4d21a6ce5d8dcbbb0779e0739d402ccace.zip
Notes
Diffstat (limited to 'net')
-rw-r--r--net/bird-devel/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/net/bird-devel/Makefile b/net/bird-devel/Makefile
index c57192d5bae8..24d62b62954a 100644
--- a/net/bird-devel/Makefile
+++ b/net/bird-devel/Makefile
@@ -12,8 +12,7 @@ COMMENT= Dynamic IP routing daemon (devel version)
CONFLICTS= bird-[0-9]*
-USES= bison
-USE_GMAKE= yes
+USES= bison gmake
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var --enable-mpls
USE_CSTD= gnu89
@@ -25,18 +24,9 @@ MAKE_JOBS_UNSAFE= yes
USE_RC_SUBR= bird
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PORT_OPTIONS:MKMPLS}
-CONFIGURE_ARGS+= --enable-kmpls
-.endif
+KMPLS_CONFIGURE_ON= --enable-kmpls
post-install:
- @if [ ! -f ${PREFIX}/etc/bird.conf ]; then \
- ${CP} -p ${PREFIX}/etc/bird.conf.example ${PREFIX}/etc/bird.conf ; \
- ${CHMOD} 0640 ${PREFIX}/etc/bird.conf ; \
- fi
@${ECHO_MSG}
@${ECHO_MSG} =====================================================================
@${ECHO_MSG}
@@ -48,4 +38,4 @@ post-install:
@${ECHO_MSG} =====================================================================
@${ECHO_MSG}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>