aboutsummaryrefslogtreecommitdiff
path: root/net/packetdrill
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-10-17 06:28:35 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-10-17 06:28:35 +0000
commit9f3ea8eba25b75936cb14573d7c26822aa6f9660 (patch)
treea04b26192e1d9c4b5a4cdbf8e32d15c3b8a8179a /net/packetdrill
parenteb583c9dd9c3c0baa5b5798cf4528ef247f9ff8e (diff)
downloadports-9f3ea8eba25b75936cb14573d7c26822aa6f9660.tar.gz
ports-9f3ea8eba25b75936cb14573d7c26822aa6f9660.zip
Notes
Diffstat (limited to 'net/packetdrill')
-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