aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2014-12-09 23:17:54 +0800
committerkwm <kwm@FreeBSD.org>2014-12-09 23:17:54 +0800
commit750e8a490328d90846820c860464dca4c1be4ee7 (patch)
tree686cfbfd90db437c7f14de161b73565a0e88375a
parent049199190eef4652f46a509bfe9ce8c11d987996 (diff)
downloadfreebsd-ports-gnome-750e8a490328d90846820c860464dca4c1be4ee7.tar.gz
freebsd-ports-gnome-750e8a490328d90846820c860464dca4c1be4ee7.tar.zst
freebsd-ports-gnome-750e8a490328d90846820c860464dca4c1be4ee7.zip
Fix subdir part of GIMP sites.
Make sure we only select the two numeric values of the version. I tested this with the gimp update but gimp overwrites the master_site_subdir value.
-rw-r--r--Mk/bsd.sites.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 3486bcd8dd2c..0d2db4b23a74 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -1532,7 +1532,7 @@ MASTER_SITES_SUBDIRS= APACHE_JAKARTA:${PORTNAME:S,-,/,}/source \
GITHUB:${GH_ACCOUNT}/${GH_PROJECT}/legacy.tar.gz/${GH_TAGNAME}?dummy=/ \
GITHUB_CLOUD:${GH_ACCOUNT}/${GH_PROJECT}/ \
GNOME:sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} \
- GIMP:${PORTNAME}/${PORTVERSION}/ \
+ GIMP:${PORTNAME}/${PORTVERSION:R}/ \
GNU:${PORTNAME} \
GNU_ALPHA:${PORTNAME} \
HORDE:${PORTNAME} \