aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2015-04-06 07:50:04 +0800
committertruckman <truckman@FreeBSD.org>2015-04-06 07:50:04 +0800
commit7ba6f0ca2f3d9d9a69a18a9fc3a997173d6cb7c8 (patch)
tree6ee17a0c4a2ed4dbe75d84e0e25f0a10e63c941e /net
parent21e859e972ac98edf1373ade6764c47b3dfa2e74 (diff)
downloadfreebsd-ports-gnome-7ba6f0ca2f3d9d9a69a18a9fc3a997173d6cb7c8.tar.gz
freebsd-ports-gnome-7ba6f0ca2f3d9d9a69a18a9fc3a997173d6cb7c8.tar.zst
freebsd-ports-gnome-7ba6f0ca2f3d9d9a69a18a9fc3a997173d6cb7c8.zip
Adapt to new USE_GITHUB features.
Add LICENSE_FILE. Add sie-nmsg to RUN_DEPENDS. Don't bother with install-strip because it was not stripping libaxa.so, and sratool and sratunnel are stripped even without it. Use ${STRIP_CMD} for the library. Differential Revision: https://reviews.freebsd.org/D2233 Approved by: mat (mentor) Sponsored by: Farsight Security, Inc.
Diffstat (limited to 'net')
-rw-r--r--net/axa/Makefile11
-rw-r--r--net/axa/distinfo4
2 files changed, 10 insertions, 5 deletions
diff --git a/net/axa/Makefile b/net/axa/Makefile
index 0338f8776604..8c65aac02dc0 100644
--- a/net/axa/Makefile
+++ b/net/axa/Makefile
@@ -2,28 +2,31 @@
PORTNAME= axa
PORTVERSION= 1.0.0
+# Use GH_TAGNAME until USE_GITHUB can cope with / in DISTVERSIONPREFIX
+#DISTVERSIONPREFIX= tags/v
+PORTREVISION= 1
CATEGORIES= net dns
MAINTAINER= truckman@FreeBSD.org
COMMENT= AXA library and tools
LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/copyright
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash \
sie-nmsg>0:${PORTSDIR}/net/sie-nmsg
LIB_DEPENDS= libprotobuf-c.so:${PORTSDIR}/devel/protobuf-c \
libnmsg.so:${PORTSDIR}/net/nmsg \
libwdns.so:${PORTSDIR}/dns/wdns
+RUN_DEPENDS= sie-nmsg>0:${PORTSDIR}/net/sie-nmsg
USE_GITHUB= yes
GH_ACCOUNT= farsightsec
-GH_COMMIT= bf9c038
-GH_TAGNAME= ${GH_COMMIT}
+GH_TAGNAME= tags/v${PORTVERSION}
GNU_CONFIGURE= yes
USES= autoreconf gmake libtool pathfix pkgconfig
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
-INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PORTDOCS= *
@@ -39,6 +42,8 @@ DOXYGEN_ALL_TARGET= html-local
.if ${PORT_OPTIONS:MDOXYGEN}
post-install:
+ # install-strip does not strip libaxa.so
+ ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libaxa.so.0.0.0
(cd ${WRKSRC}/doc/doxygen && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
.endif
diff --git a/net/axa/distinfo b/net/axa/distinfo
index caa592a459dc..32df6a834c3c 100644
--- a/net/axa/distinfo
+++ b/net/axa/distinfo
@@ -1,2 +1,2 @@
-SHA256 (axa-1.0.0.tar.gz) = fe118b1270a3d39c967070f57873911fc4369927848f8565368afea9e6ea4fde
-SIZE (axa-1.0.0.tar.gz) = 150904
+SHA256 (farsightsec-axa-1.0.0-tags-v1.0.0_GH0.tar.gz) = 61c67185983d38d648f903a5743f9adcc343c32264a870f92f4eff3e9855a3e3
+SIZE (farsightsec-axa-1.0.0-tags-v1.0.0_GH0.tar.gz) = 150853