svn commit: r330607 - head/net/packetdrill

Hiroki Sato hrs at FreeBSD.org
Thu Oct 17 06:28:36 UTC 2013


Author: hrs
Date: Thu Oct 17 06:28:35 2013
New Revision: 330607
URL: http://svnweb.freebsd.org/changeset/ports/330607

Log:
  - Update to 20130820.
  - Add STAGEDIR support.

Modified:
  head/net/packetdrill/Makefile
  head/net/packetdrill/distinfo

Modified: head/net/packetdrill/Makefile
==============================================================================
--- head/net/packetdrill/Makefile	Thu Oct 17 06:22:36 2013	(r330606)
+++ head/net/packetdrill/Makefile	Thu Oct 17 06:28:35 2013	(r330607)
@@ -1,10 +1,10 @@
 # $FreeBSD$
 
 PORTNAME=	packetdrill
-PORTVERSION=	0.0.20130626
+PORTVERSION=	0.0.20130820
 CATEGORIES=	net ipv6
 MASTER_SITES=	LOCAL/hrs
-DISTNAME=	${PORTNAME}-77954df72a78
+DISTNAME=	${PORTNAME}-ea8f2fec724d
 
 MAINTAINER=	hrs at FreeBSD.org
 COMMENT=	Network stack testing tool
@@ -14,13 +14,13 @@ LICENSE=	GPLv2
 USES=		bison
 MAKE_ENV+=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		PTHREAD_LIBS="${PTHREAD_LIBS}"
+PORTDATA=	packetdrill.el packetdrill.vim
 PORTDOCS=	README
-PORTEXAMPLES=	fr-4pkt-sack-bsd.pkt fr-4pkt-sack-linux.pkt
+PORTEXAMPLES=	tests
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 OPTIONS_DEFAULT=DOCS EXAMPLES
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-configure:
@@ -42,13 +42,17 @@ pre-build:
 .endfor
 
 post-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/contrib && ${INSTALL_DATA} ${PORTDATA} \
+	    ${STAGEDIR}${DATADIR}
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	cd ${WRKSRC}/examples && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} ${PORTEXAMPLES} \
+	    ${STAGEDIR}${EXAMPLESDIR}
 .endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>

Modified: head/net/packetdrill/distinfo
==============================================================================
--- head/net/packetdrill/distinfo	Thu Oct 17 06:22:36 2013	(r330606)
+++ head/net/packetdrill/distinfo	Thu Oct 17 06:28:35 2013	(r330607)
@@ -1,2 +1,2 @@
-SHA256 (packetdrill-77954df72a78.tar.gz) = 0a022fb2a0c02f6f01f52e05380ddb47aef8580727330f11f8eeed60e94d50e5
-SIZE (packetdrill-77954df72a78.tar.gz) = 130523
+SHA256 (packetdrill-ea8f2fec724d.tar.gz) = f07c46f4adfd273f09c0bb98e0eadef83d8d13b080d2c9f5a59c6fd91120aa2b
+SIZE (packetdrill-ea8f2fec724d.tar.gz) = 146043


More information about the svn-ports-all mailing list