summaryrefslogtreecommitdiff
path: root/net/xl2tpd/Makefile
blob: 86a13376884c4f34ffc19f1bbc700cb6f989f294 (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
# $NetBSD: Makefile,v 1.3 2015/06/01 14:01:21 hauke Exp $
#

DISTNAME=		xl2tpd-20140214
CATEGORIES=		net
PKGREVISION=		1
MASTER_SITES=		-https://github.com/xelerance/xl2tpd/archive/master.zip
EXTRACT_SUFX=		.zip
WRKSRC=			${WRKDIR}/xl2tpd-master

MAINTAINER=		christos@NetBSD.org
HOMEPAGE=		http://www.xelerance.com/services/software/xl2tpd/
COMMENT=		Layer 2 Protocol Daemon

EXDIR=			${PREFIX}/share/examples
INSTALLATION_DIRS+=	${EXDIR}/xl2tpd \
			${EXDIR}/rc.d

post-install:
.for i in chap-secrets ipsec.conf options.xl2tpd psk.txt racoon.conf xl2tpd.conf
	${INSTALL_DATA} ${FILESDIR}/${i} ${DESTDIR}${EXDIR}/xl2tpd/${i}
.endfor
	${INSTALL_SCRIPT} ${FILESDIR}/xl2tpd ${DESTDIR}${EXDIR}/rc.d/xl2tpd

.include "../../mk/compiler.mk"
.include "../../mk/bsd.pkg.mk"