freebsd-ports/net-mgmt/send/Makefile
2021-04-06 16:31:07 +02:00

49 lines
1.2 KiB
Makefile

# Created by: Janos Mohacsi <mohacsi@niif.hu>
PORTNAME= send
PORTVERSION= 0.3
DISTVERSIONPREFIX= v
PORTREVISION= 3
CATEGORIES= net-mgmt
MAINTAINER= hrs@FreeBSD.org
COMMENT= Secure Neighbor Discovery implementation for IPv6
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_FreeBSD_13= ld: error: duplicate symbol: params_linecnt
BROKEN_FreeBSD_14= ld: error: duplicate symbol: params_linecnt
LIB_DEPENDS= libdnet.so:net/libdnet
USES= gmake readline ssl
USE_GITHUB= yes
GH_ACCOUNT= hrs-allbsd
USE_RC_SUBR= sendd
SUB_FILES= pkg-message
PORTDOCS= README UserGuide.pdf
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= DOCS
post-extract:
${INSTALL_DATA} ${WRKSRC}/examples/ipext/ipext_verify.conf \
${WRKSRC}/examples/ipext/ca/ipext.conf \
${WRKSRC}/examples/
${INSTALL_DATA} ${WRKSRC}/docs/UserGuide.pdf \
${WRKSRC}/UserGuide.pdf
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/sendd
for F in sendd.conf params.conf ipext.conf ipext_verify.conf; do \
${INSTALL_DATA} ${WRKSRC}/examples/$$F \
${STAGEDIR}${PREFIX}/etc/sendd/$${F}-dist; \
done
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>