aboutsummaryrefslogtreecommitdiff
path: root/net/netwib
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-05-11 18:34:57 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-05-11 18:34:57 +0000
commit88bfe4bd43787219ab4de75bd68c490c98776dfc (patch)
tree634e1ef4990207301493f26b46d80abe56b9f2b3 /net/netwib
parent9e8bfe9c71187ea60ac9f3a55c0c7bde80d76033 (diff)
downloadports-88bfe4bd43787219ab4de75bd68c490c98776dfc.tar.gz
ports-88bfe4bd43787219ab4de75bd68c490c98776dfc.zip
Notes
Diffstat (limited to 'net/netwib')
-rw-r--r--net/netwib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/net/netwib/Makefile b/net/netwib/Makefile
index 2d9c5c4185fd..50637e9263e0 100644
--- a/net/netwib/Makefile
+++ b/net/netwib/Makefile
@@ -8,14 +8,15 @@ CATEGORIES= net devel ipv6
MASTER_SITES= http://www.laurentconstantin.com/common/netw/netwib/download/v5/ \
http://membres.lycos.fr/lauconstantin/common/netw/netwib/download/v5/ \
http://laurentconstantin.free.fr/common/netw/netwib/download/v5/
-DISTFILES= ${PORTNAME}-${PORTVERSION}-src.tgz ${PORTNAME}-${PORTVERSION}-doc_html.tgz
+DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+DISTFILES= ${DISTNAME}.tgz ${DISTNAME:S/src/doc_html/}.tgz
MAINTAINER= jmohacsi@bsd.hu
COMMENT= Netwib network programming library
LIB_DEPENDS= libnet.so:${PORTSDIR}/net/libnet
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src/src
+WRKSRC_SUBDIR= src
SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)\.[0-9]*/\1\2/}
PLIST_SUB+= SHORTPORTVERSION=${SHORTPORTVERSION}