aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-04-19 11:21:21 +0800
committerjgh <jgh@FreeBSD.org>2012-04-19 11:21:21 +0800
commit4f09ca3a380fbaa89bcebf7d4c27a1c9448c26a5 (patch)
tree5b04bb9219586aeb5092017a3c7bc04a8b8af4b9 /net
parent8a84c23f3631e549e7562b78e6c3f19c5edb0e6f (diff)
downloadfreebsd-ports-gnome-4f09ca3a380fbaa89bcebf7d4c27a1c9448c26a5.tar.gz
freebsd-ports-gnome-4f09ca3a380fbaa89bcebf7d4c27a1c9448c26a5.tar.zst
freebsd-ports-gnome-4f09ca3a380fbaa89bcebf7d4c27a1c9448c26a5.zip
- Update to 1.4.99.13
- pass maintainership to submitter - install documentation and examples PR: ports/167082 Submitted by: mjl@luckie.org.nz
Diffstat (limited to 'net')
-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