Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2014 10:10:53 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341972 - head/net/ptunnel
Message-ID:  <201401311010.s0VAArdx044628@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401311010.s0VAArdx044628>