aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/send/Makefile
blob: 9efc8d62862d0c3ad74e260e65738ebc8d5fd0fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: Janos Mohacsi <mohacsi@niif.hu>
# $FreeBSD$

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

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>