blob: dd87d9b8a7b711e80e3f5646ccfc4ce408c0f7b4 (
plain)
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
|
PORTNAME= mpd-l2tp-ipv6pd-client
PORTVERSION= 20150430
#PORTREVISION= 0
CATEGORIES= net
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= ume@FreeBSD.org
COMMENT= Sample implementation set of "L2TP-IPv6PD" client using mpd
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= mpd5:net/mpd5
RUN_DEPENDS= dhcp6ctl:net/dhcp6 \
mpd5:net/mpd5
NO_BUILD= yes
PLIST_FILES= sbin/${PORTNAME}-setup \
${TEMPLATE_FILES:C,^,${DATADIR_REL}/,g}
SUB_LIST= PORTNAME=${PORTNAME}
SUB_FILES= pkg-message \
setup
TEMPLATE_FILES= dhcp6c.conf.in.in \
dhcp6c_pd.sh.in \
linkdown.sh.in \
linkup.sh.in \
mpd.conf.in \
mpd.in \
mpd.secret.in \
rtadvd.conf.in
do-install:
@${INSTALL} ${WRKDIR}/setup ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}-setup
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in ${TEMPLATE_FILES}
@${INSTALL_DATA} ${FILESDIR}/${f} ${STAGEDIR}${DATADIR}/${f}
.endfor
setup:
@${PREFIX}/sbin/${PORTNAME}-setup
.include <bsd.port.mk>
|