1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/net/exabgp/Makefile
Jimmy Olgeni 7dc406a7a1 Remove indefinite articles and trailing periods from COMMENT, plus minor
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not
included as they contain Latin-1 characters that break the Phabricator
workflow. Category N.

CR:		D307
Approved by:	portmgr (bapt)
2014-07-10 12:13:11 +00:00

54 lines
1.3 KiB
Makefile

# Created by: Ryan Steinmetz <zi@FreeBSD.org>
# $FreeBSD$
PORTNAME= exabgp
PORTVERSION= 3.3.1
CATEGORIES= net
MASTER_SITES= GH GHC \
http://mirrors.rit.edu/zi/
EXTRACT_SUFX= .tgz
MAINTAINER= zi@FreeBSD.org
COMMENT= BGP engine and route injector
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= Exa-Networks
GH_TAGNAME= ${PORTVERSION}
GH_COMMIT= 2224194
USE_PYTHON= yes
SUB_FILES= pkg-message exabgp.sh
SUB_LIST= PYTHON_LIBDIR=${PYTHON_LIBDIR} PYTHON_CMD=${PYTHON_CMD} \
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
USE_RC_SUBR= ${PORTNAME}
USERS= _bgpd
GROUPS= _bgpd
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
post-extract:
@${MV} -f ${WRKSRC}/etc/systemd ${WRKSRC}
do-build:
${PYTHON_CMD} -m compileall ${WRKSRC}/lib
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} ${STAGEDIR}${ETCDIR}
(cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR})
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/etc && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.endif
${CP} ${FILESDIR}/exabgp.env ${STAGEDIR}${ETCDIR}/exabgp.env.sample
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>