aboutsummaryrefslogtreecommitdiff
path: root/net/libbgpdump
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-04-19 03:21:21 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-04-19 03:21:21 +0000
commit7363e7f7d540303e685ba5eee2ed7b56a06cf93e (patch)
treea06291c17ba47a4d99a3ca95bc7d87a211c3c042 /net/libbgpdump
parentf9ab7263f27b9fd2735c25c217f1992329980840 (diff)
downloadports-7363e7f7d540303e685ba5eee2ed7b56a06cf93e.tar.gz
ports-7363e7f7d540303e685ba5eee2ed7b56a06cf93e.zip
- Update to 1.4.99.13
- pass maintainership to submitter - install documentation and examples PR: ports/167082 Submitted by: mjl@luckie.org.nz
Notes
Notes: svn path=/head/; revision=295081
Diffstat (limited to 'net/libbgpdump')
-rw-r--r--net/libbgpdump/Makefile22
-rw-r--r--net/libbgpdump/distinfo4
-rw-r--r--net/libbgpdump/pkg-plist4
3 files changed, 21 insertions, 9 deletions
diff --git a/net/libbgpdump/Makefile b/net/libbgpdump/Makefile
index 05ef5358dc16..67e3f7ce9177 100644
--- a/net/libbgpdump/Makefile
+++ b/net/libbgpdump/Makefile
@@ -7,11 +7,12 @@
#
PORTNAME= libbgpdump
-PORTVERSION= 1.4.99.12
+PORTVERSION= 1.4.99.13
CATEGORIES= net
MASTER_SITES= http://www.ris.ripe.net/source/bgpdump/
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mjl@luckie.org.nz
COMMENT= Analyzing dump files produced by Zebra/Quagga or MRT
LICENSE= GPLv2
@@ -19,9 +20,24 @@ LICENSE= GPLv2
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+PORTDOCS= README
+PORTEXAMPLES= example.c
+
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/bgpdump ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/libbgpdump.* ${PREFIX}/lib
- @${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include
+.for i in bgpdump_attr.h bgpdump_formats.h bgpdump_lib.h
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/include
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+.endif
+.if !defined(NOPORTEXAMPLES)
+ ${MKDIR} ${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.c ${EXAMPLESDIR}
+.endif
.include <bsd.port.mk>
diff --git a/net/libbgpdump/distinfo b/net/libbgpdump/distinfo
index 572bf917f184..b36a4d66dd22 100644
--- a/net/libbgpdump/distinfo
+++ b/net/libbgpdump/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libbgpdump-1.4.99.12.tar.gz) = aebe46f124144fea733cc0870daa535968222fe9b19359cfa143d8fe865a52a2
-SIZE (libbgpdump-1.4.99.12.tar.gz) = 81052
+SHA256 (libbgpdump-1.4.99.13.tgz) = 7551a285fa5c0885aec7290e1f316e58968baab70a4f3467f8f70868d338311e
+SIZE (libbgpdump-1.4.99.13.tgz) = 84083
diff --git a/net/libbgpdump/pkg-plist b/net/libbgpdump/pkg-plist
index 926c409dc34d..1537529c23a8 100644
--- a/net/libbgpdump/pkg-plist
+++ b/net/libbgpdump/pkg-plist
@@ -1,10 +1,6 @@
bin/bgpdump
lib/libbgpdump.a
lib/libbgpdump.so
-include/bgpdump-config.h
-include/util.h
include/bgpdump_attr.h
include/bgpdump_formats.h
include/bgpdump_lib.h
-include/bgpdump_mstream.h
-include/cfile_tools.h