aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2013-10-17 14:28:35 +0800
committerhrs <hrs@FreeBSD.org>2013-10-17 14:28:35 +0800
commit87c58edb42f6ab04fad42e2467a3198cbb54692a (patch)
treea04b26192e1d9c4b5a4cdbf8e32d15c3b8a8179a /net
parent132ea1c7e29bc2fbd5258c0a9911ce83cc092c74 (diff)
downloadfreebsd-ports-gnome-87c58edb42f6ab04fad42e2467a3198cbb54692a.tar.gz
freebsd-ports-gnome-87c58edb42f6ab04fad42e2467a3198cbb54692a.tar.zst
freebsd-ports-gnome-87c58edb42f6ab04fad42e2467a3198cbb54692a.zip
- Update to 20130820.
- Add STAGEDIR support.
Diffstat (limited to 'net')
-rw-r--r--net/packetdrill/Makefile20
-rw-r--r--net/packetdrill/distinfo4
2 files changed, 14 insertions, 10 deletions
diff --git a/net/packetdrill/Makefile b/net/packetdrill/Makefile
index e87e1582c5b1..1c2af72d1a06 100644
--- a/net/packetdrill/Makefile
+++ b/net/packetdrill/Makefile
@@ -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@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>
diff --git a/net/packetdrill/distinfo b/net/packetdrill/distinfo
index 945d62ec5d28..a7734fade83c 100644
--- a/net/packetdrill/distinfo
+++ b/net/packetdrill/distinfo
@@ -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