1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/frickin/Makefile
Pietro Cerutti 0b20a3ef6a - Fix build with GCC 4.2
PR:		125220
Submitted by:	Alex Miller <asm@asm.kiev.ua> (maintainer)
2008-07-07 11:11:16 +00:00

48 lines
1.0 KiB
Makefile

# New ports collection makefile for: frickin
# Date created: 2 December 2006
# Whom: Alex Miller <asm@asm.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= frickin
DISTVERSION= 2.0BETA2
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF
EXTRACT_SUFX= .tgz
MAINTAINER= asm@asm.kiev.ua
COMMENT= Frickin PPTP Proxy
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_RC_SUBR= frickin.sh
SUB_FILES= pkg-message
PORTDOCS= INSTALL LICENSE
PLIST_FILES= sbin/frickin2 etc/frickin.conf.sample
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g;' \
${WRKSRC}/src/Makefile.FreeBSD
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME}2 ${PREFIX}/sbin/${PORTNAME}2
${INSTALL_DATA} ${WRKSRC}/frickin.conf.default ${PREFIX}/etc/frickin.conf.sample
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
IGNORE= does not compile with old version of pf
.endif
.include <bsd.port.post.mk>