1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-28 10:08:24 +00:00
freebsd-ports/net/pwnat/Makefile
2021-10-25 22:44:47 +00:00

32 lines
716 B
Makefile

PORTNAME= pwnat
PORTVERSION= g20171222
CATEGORIES= net
MAINTAINER= egypcio@FreeBSD.org
COMMENT= NAT punching tool based on udptunnel
LICENSE= GPLv3
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= fails to patch while running on embedded systems
USES= gmake
USE_RC_SUBR= ${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= samyk
GH_TAGNAME= 5de412c
PLIST_FILES= bin/${PORTNAME}
post-patch:
${REINPLACE_CMD} -e 's/CC=.*/CC=${CC}/g' \
${WRKSRC}/Makefile
${REINPLACE_CMD} -e 's/CFLAGS=.*/CFLAGS=${CFLAGS}/g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/bin
${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>