aboutsummaryrefslogtreecommitdiffstats
path: root/net/sl2tps/Makefile
blob: 870ac604fac9706370bd598145ec11fee000b4ce (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
# Created by: Archie Cobbs
# $FreeBSD$

PORTNAME=   sl2tps
PORTVERSION=    0.4.2
PORTREVISION=   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=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

LIB_DEPENDS=    libpdel.so:devel/libpdel

USES=       uidfix

post-patch:
    @${REINPLACE_CMD} -e \
        's|$${PREFIX}/include|$${LOCALBASE}/include|g ; \
         /-g/s|^CFLAGS|#CFLAGS|g ; \
         s|$${PREFIX}/lib|$${LOCALBASE}/lib|g' ${WRKSRC}/Makefile

.include <bsd.port.mk>