blob: 216a79300fecf4e1a6ca7b023f19e54f8924f372 (
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
48
49
|
# $FreeBSD$
PORTNAME= mpd-l2tp-ipv6pd-client
PORTVERSION= 20140817
#PORTREVISION= 0
CATEGORIES= net ipv6
MASTER_SITES= # none
DISTFILES= # none
MAINTAINER= ume@FreeBSD.org
COMMENT= Sample implementation set of "L2TP-IPv6PD" client using mpd
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= mpd5:${PORTSDIR}/net/mpd5
RUN_DEPENDS= dhcp6ctl:${PORTSDIR}/net/dhcp6 \
mpd5:${PORTSDIR}/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
PKGMESSAGE= ${WRKDIR}/pkg-message
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>
|