aboutsummaryrefslogtreecommitdiff
path: root/net/netwib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netwib/Makefile')
-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}