freebsd-ports/net/sl2tps/Makefile
John Marino b90f611b9c net category: Remove $PTHREAD_LIBS
openafs did not pass check-plist (pre-existing) so fixed and bumped.
Also, pkg-plist was sorted.  mediatomb and spread also fail plist-checks
but they weren't fixed.

approved by:	PTHREAD blanket
2015-03-25 23:51:05 +00:00

26 lines
580 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
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>