aboutsummaryrefslogtreecommitdiffstats
path: root/net/spread
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2014-06-03 02:57:55 +0800
committerrm <rm@FreeBSD.org>2014-06-03 02:57:55 +0800
commitf050fd4eae0eb26f4ce081ecec2ea96c105948db (patch)
tree275c9ed2823bfecd872e31506a350817b7de81eb /net/spread
parent344a6fc0d7c1ac4b08393b04267e782983fa2bd6 (diff)
downloadfreebsd-ports-gnome-f050fd4eae0eb26f4ce081ecec2ea96c105948db.tar.gz
freebsd-ports-gnome-f050fd4eae0eb26f4ce081ecec2ea96c105948db.tar.zst
freebsd-ports-gnome-f050fd4eae0eb26f4ce081ecec2ea96c105948db.zip
net/spread: update MASTER_SITES and other changes
- update MASTER_SITES - switch to tar.xz distribution [1] - use fixpacklist instead of manual fix [2] - strip shared libraries [2] - whitespace fix in pkg-plist - bump PORTREVISION because of STRIP_CMD [1] both tar.gz and tar.xz are identical [2] obtained from https://phabric.freebsd.org/D126 PR: 190013 Submitted by: portmaster@bsdforge.com (maintainer)
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/Makefile11
-rw-r--r--net/spread/distinfo4
-rw-r--r--net/spread/pkg-plist2
3 files changed, 10 insertions, 7 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 59d2dab755f8..7838e47d6c90 100644
--- a/net/spread/Makefile
+++ b/net/spread/Makefile
@@ -3,9 +3,9 @@
PORTNAME= spread
PORTVERSION= 3.17.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net perl5
-MASTER_SITES= http://bsdforge.com/projects/source/apache2/
+MASTER_SITES= http://bsdforge.com/projects/source/net/spread/
DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= portmaster@bsdforge.com
@@ -14,7 +14,8 @@ COMMENT= The Spread Group Communication System, a network toolkit
MAKE_JOBS_UNSAFE= yes
GNU_CONFIGURE= yes
-USES= perl5
+USES= perl5 tar:xz
+USE_PERL5= build fixpacklist run
USE_RC_SUBR= spread
USE_LDCONFIG= yes
@@ -73,6 +74,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/Readme.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/license.txt ${STAGEDIR}${DOCSDIR}/LICENSE
${INSTALL} -m 750 -d ${STAGEDIR}${RUNDIR}
- ${SED} -i '' 's|^${STAGEDIR}||' ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Spread/.packlist
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libspread.so.1
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtspread.so.1
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/mach/auto/Spread/Spread.so
.include <bsd.port.post.mk>
diff --git a/net/spread/distinfo b/net/spread/distinfo
index c3a206c3a950..480ec6ebd7bd 100644
--- a/net/spread/distinfo
+++ b/net/spread/distinfo
@@ -1,2 +1,2 @@
-SHA256 (spread-src-3.17.4.tar.gz) = 7ed2219c5aa64be40f1819577fc9393daa4ca297185fca38d9f4f3292906f324
-SIZE (spread-src-3.17.4.tar.gz) = 308271
+SHA256 (spread-src-3.17.4.tar.xz) = e872509217b82ff9dc14ba7766488d283b9f36aabeffc87449ac175c6fe8d53a
+SIZE (spread-src-3.17.4.tar.xz) = 230944
diff --git a/net/spread/pkg-plist b/net/spread/pkg-plist
index 9128859b542a..ef90d6d09c9b 100644
--- a/net/spread/pkg-plist
+++ b/net/spread/pkg-plist
@@ -18,7 +18,7 @@ man/man1/spmonitor.1.gz
man/man1/spread.1.gz
man/man1/sptuser.1.gz
man/man1/spuser.1.gz
-man/man3/libsp.3.gz
+man/man3/libsp.3.gz
man/man3/SP_connect.3.gz
man/man3/SP_disconnect.3.gz
man/man3/SP_equal_group_ids.3.gz