freebsd-ports/net/sl2tps/Makefile
Emanuel Haupt a223a58cf5 Update to version 0.4.2
PR:		161634
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-10-18 13:07:00 +00:00

34 lines
764 B
Makefile

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