From ddd409c98abe6dc5224ebdffeb22041e698e5c55 Mon Sep 17 00:00:00 2001 From: mezz Date: Mon, 13 Mar 2006 19:31:50 +0000 Subject: 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 --- graphics/eog/Makefile | 4 ++-- graphics/libgnomecanvas/Makefile | 4 ++-- graphics/librsvg2/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'graphics') diff --git a/graphics/eog/Makefile b/graphics/eog/Makefile index f9781509b..cffd842da 100644 --- a/graphics/eog/Makefile +++ b/graphics/eog/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/graphics/eog/Makefile,v 1.24 2006/03/04 18:01:59 mezz Exp $ +# $MCom: ports/graphics/eog/Makefile,v 1.25 2006/03/13 06:44:07 mezz Exp $ # PORTNAME= eog PORTVERSION= 2.13.92 CATEGORIES= graphics 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/} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile index 426120dfc..51d86d44a 100644 --- a/graphics/libgnomecanvas/Makefile +++ b/graphics/libgnomecanvas/Makefile @@ -3,7 +3,7 @@ # Whom: Maxim Sobolev # # $FreeBSD$ -# $MCom: ports/graphics/libgnomecanvas/Makefile,v 1.53 2006/03/02 20:43:05 mezz Exp $ +# $MCom: ports/graphics/libgnomecanvas/Makefile,v 1.54 2006/03/13 06:44:07 mezz Exp $ # PORTNAME= libgnomecanvas @@ -11,7 +11,7 @@ PORTVERSION= 2.13.0 PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index f37b1a8eb..d91148861 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -3,14 +3,14 @@ # Whom: Ade Lovett # # $FreeBSD$ -# $MCom: ports/graphics/librsvg2/Makefile,v 1.93 2006/03/11 18:41:56 marcus Exp $ +# $MCom: ports/graphics/librsvg2/Makefile,v 1.94 2006/03/13 06:44:07 mezz Exp $ # PORTNAME= librsvg2 PORTVERSION= 2.14.2 CATEGORIES= graphics 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= librsvg-${PORTVERSION} DIST_SUBDIR= gnome2 -- cgit v1.2.3