1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/net/sl2tps/Makefile
Vanilla I. Shu e02b236f9d 1: Stagify.
2: use @sample on pkg-plist.
3: Bump version.
2014-06-09 16:16:20 +00:00

26 lines
601 B
Makefile

# Created by: Archie Cobbs
# $FreeBSD$
PORTNAME= sl2tps
PORTVERSION= 0.4.2
PORTREVISION= 1
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:${PORTSDIR}/devel/libpdel
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>