freebsd-ports/net/mpd-l2tp-ipv6pd-client/Makefile
Baptiste Daroussin 5587763f34 cleanup plist
2014-12-20 19:23:19 +00:00

49 lines
1,015 B
Makefile

# $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>