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 --- misc/gnome-icon-theme/Makefile | 4 ++-- misc/gnome-user-docs/Makefile | 4 ++-- misc/gnomeuserdocs2/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'misc') diff --git a/misc/gnome-icon-theme/Makefile b/misc/gnome-icon-theme/Makefile index eaa30ad49..3861f7134 100644 --- a/misc/gnome-icon-theme/Makefile +++ b/misc/gnome-icon-theme/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/misc/gnome-icon-theme/Makefile,v 1.70 2006/02/25 22:24:40 marcus Exp $ +# $MCom: ports/misc/gnome-icon-theme/Makefile,v 1.71 2006/03/13 06:51:08 mezz Exp $ # PORTNAME= gnome-icon-theme PORTVERSION= 2.14.1 CATEGORIES= misc 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/misc/gnome-user-docs/Makefile b/misc/gnome-user-docs/Makefile index 25a24cf62..ad4895098 100644 --- a/misc/gnome-user-docs/Makefile +++ b/misc/gnome-user-docs/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/misc/gnomeuserdocs2/Makefile,v 1.19 2006/02/21 19:39:50 marcus Exp $ +# $MCom: ports/misc/gnomeuserdocs2/Makefile,v 1.20 2006/03/13 06:57:06 mezz Exp $ # PORTNAME= gnomeuserdocs2 PORTVERSION= 2.13.1.1 CATEGORIES= misc gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-user-docs/${PORTVERSION:R:R} +MASTER_SITE_SUBDIR= sources/gnome-user-docs/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-user-docs-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/misc/gnomeuserdocs2/Makefile b/misc/gnomeuserdocs2/Makefile index 25a24cf62..ad4895098 100644 --- a/misc/gnomeuserdocs2/Makefile +++ b/misc/gnomeuserdocs2/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/misc/gnomeuserdocs2/Makefile,v 1.19 2006/02/21 19:39:50 marcus Exp $ +# $MCom: ports/misc/gnomeuserdocs2/Makefile,v 1.20 2006/03/13 06:57:06 mezz Exp $ # PORTNAME= gnomeuserdocs2 PORTVERSION= 2.13.1.1 CATEGORIES= misc gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-user-docs/${PORTVERSION:R:R} +MASTER_SITE_SUBDIR= sources/gnome-user-docs/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-user-docs-${PORTVERSION} DIST_SUBDIR= gnome2 -- cgit v1.2.3