svn commit: r341972 - head/net/ptunnel
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Jan 31 10:10:53 UTC 2014
Author: ehaupt
Date: Fri Jan 31 10:10:53 2014
New Revision: 341972
URL: http://svnweb.freebsd.org/changeset/ports/341972
QAT: https://qat.redports.org/buildarchive/r341972/
Log:
- Add staging support
- Add LICENSE
- Don't build with debug symbols
Modified:
head/net/ptunnel/Makefile
Modified: head/net/ptunnel/Makefile
==============================================================================
--- head/net/ptunnel/Makefile Fri Jan 31 10:07:24 2014 (r341971)
+++ head/net/ptunnel/Makefile Fri Jan 31 10:10:53 2014 (r341972)
@@ -10,19 +10,20 @@ DISTNAME= PingTunnel-${PORTVERSION}
MAINTAINER= leeym at FreeBSD.org
COMMENT= Tunneling TCP connections over ICMP echo request and reply
+LICENSE= BSD3CLAUSE
+
WRKSRC= ${WRKDIR}/PingTunnel
USE_GMAKE= yes
-PLIST_FILES= bin/ptunnel
-MAN8= ptunnel.8
+PLIST_FILES= bin/ptunnel man/man8/ptunnel.8.gz
-NO_STAGE= yes
post-patch:
- @${REINPLACE_CMD} -e '/^CC/d;s/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e '/^CC/d;s/-lpthread/${PTHREAD_LIBS}/' \
+ -e "/^CFLAGS/d" ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's/stdint.h/inttypes.h/' ${WRKSRC}/ptunnel.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ptunnel ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/ptunnel.8 ${MAN8PREFIX}/man/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/ptunnel ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/ptunnel.8 ${STAGEDIR}${MAN8PREFIX}/man/man8
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list