blob: 9ec5983ebaf51b768332cd131e1f3acc78d54b1a (
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
|
# New ports collection makefile for: sl2tps
# Date created: 4 Jul 2004
# Whom: Archie Cobbs
#
# $FreeBSD$
#
PORTNAME= sl2tps
PORTVERSION= 0.4.2
CATEGORIES= net
MASTER_SITES= SF/libpdel/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple L2TP server based on libpdel(3) and netgraph(4)
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
LIB_DEPENDS= pdel.0:${PORTSDIR}/devel/libpdel
MANCOMPRESSED= maybe
MAN1= sl2tps.1
PLIST_FILES= bin/sl2tps %%ETCDIR%%/config.xml.sample
PLIST_DIRS= %%ETCDIR%%
post-patch:
@${REINPLACE_CMD} -e \
's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \
s|-pthread|${PTHREAD_LIBS}|g ; \
/-g/s|^CFLAGS|#CFLAGS|g ; \
s|$${PREFIX}/lib|$${LOCALBASE}/lib|g' ${WRKSRC}/Makefile
.include <bsd.port.mk>
|