summaryrefslogtreecommitdiffstats
path: root/devel/libgtop2/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-03-14 03:31:50 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-03-14 03:31:50 +0800
commitddd409c98abe6dc5224ebdffeb22041e698e5c55 (patch)
tree06f7e1c866ff3a41afb3ee96e585d37c57b4fddc /devel/libgtop2/Makefile
parentd43cb4e97e502ba0830558dfdab1427cbd4ede69 (diff)
downloadmarcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.gz
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.bz2
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.lz
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.xz
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.zst
marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.zip
Change the MASTER_SITE_SUBDIR from:
sources/${PORTNAME}/${PORTVERSION:R} To: sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} That way you don't have to tweak :R or :R:R if there has four any third point release. Half of them have been tested. Suggested by: bland git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5906 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop2/Makefile')
-rw-r--r--devel/libgtop2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/libgtop2/Makefile b/devel/libgtop2/Makefile
index 3e095b391..d1918e88a 100644
--- a/devel/libgtop2/Makefile
+++ b/devel/libgtop2/Makefile
@@ -3,14 +3,14 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/devel/libgtop2/Makefile,v 1.63 2006/03/02 20:31:35 mezz Exp $
+# $MCom: ports/devel/libgtop2/Makefile,v 1.64 2006/03/13 06:33:54 mezz Exp $
#
PORTNAME= libgtop2
PORTVERSION= 2.13.92
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:R}
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/}
DISTNAME= libgtop-${PORTVERSION}
DIST_SUBDIR= gnome2