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 --- x11/gnome-session/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'x11/gnome-session/Makefile') diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile index 8fdae505e..48ad1ee23 100644 --- a/x11/gnome-session/Makefile +++ b/x11/gnome-session/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/x11/gnomesession/Makefile,v 1.75 2006/02/28 05:39:49 marcus Exp $ +# $MCom: ports/x11/gnomesession/Makefile,v 1.76 2006/03/13 07:23:15 mezz Exp $ # PORTNAME= gnomesession @@ -12,7 +12,7 @@ CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} \ ${MASTER_SITE_LOCAL:S/$/:local/} \ http://people.FreeBSD.org/~adamw/images/gnome_splashes/2.12/:local -MASTER_SITE_SUBDIR= sources/gnome-session/${PORTVERSION:R} \ +MASTER_SITE_SUBDIR= sources/gnome-session/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} \ adamw/:local DISTNAME= gnome-session-${PORTVERSION} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ -- cgit v1.2.3