Replace PORTVERSION by DISTVERSION in order to follow upstream scheme

Pointed to:	mat@
This commit is contained in:
Olivier Duchateau 2016-04-25 17:01:41 +00:00
parent 60ebea87cc
commit f7d732ed76
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=414024

View file

@ -2,11 +2,9 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= uget PORTNAME= uget
PORTVERSION= 2.0.7.2 DISTVERSION= 2.0.7-2
DISTVERSION= ${PORTVERSION:S/.2$//}
DISTVERSIONSUFFIX= -2
CATEGORIES= net CATEGORIES= net
MASTER_SITES= SF/urlget/${PORTNAME}%20%28stable%29/${DISTVERSION} MASTER_SITES= SF/urlget/${PORTNAME}%20%28stable%29/${DISTVERSION:S/-2//}
MAINTAINER= olivierd@FreeBSD.org MAINTAINER= olivierd@FreeBSD.org
COMMENT= Download manager application COMMENT= Download manager application
@ -26,7 +24,7 @@ USE_GNOME= glib20 gtk30 intltool intlhack
INSTALLS_ICONS= yes INSTALLS_ICONS= yes
INSTALL_TARGET= install-strip INSTALL_TARGET= install-strip
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:S/-2$//}
# Avoid warning, with redefinition of typedef (C11 feature) # Avoid warning, with redefinition of typedef (C11 feature)
CFLAGS+= -Wno-typedef-redefinition CFLAGS+= -Wno-typedef-redefinition