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 --- games/atomix/Makefile | 4 ++-- games/gnome-games/Makefile | 4 ++-- games/gnomegames2/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'games') diff --git a/games/atomix/Makefile b/games/atomix/Makefile index 613a2f5f2..09ff47f87 100644 --- a/games/atomix/Makefile +++ b/games/atomix/Makefile @@ -3,14 +3,14 @@ # Whom: Yukihiro Nakai # # $FreeBSD$ -# $MCom: ports/games/atomix/Makefile,v 1.5 2006/02/14 19:25:41 adamw Exp $ +# $MCom: ports/games/atomix/Makefile,v 1.6 2006/03/02 20:36:47 mezz Exp $ # PORTNAME= atomix PORTVERSION= 2.13.4 CATEGORIES= games 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/games/gnome-games/Makefile b/games/gnome-games/Makefile index d486eb9ca..52e2a0ee8 100644 --- a/games/gnome-games/Makefile +++ b/games/gnome-games/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/games/gnomegames2/Makefile,v 1.104 2006/03/02 20:36:47 mezz Exp $ +# $MCom: ports/games/gnomegames2/Makefile,v 1.105 2006/03/13 06:40:33 mezz Exp $ # PORTNAME= gnomegames2 PORTVERSION= 2.13.8 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-games/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/gnome-games/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-games-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/games/gnomegames2/Makefile b/games/gnomegames2/Makefile index d486eb9ca..52e2a0ee8 100644 --- a/games/gnomegames2/Makefile +++ b/games/gnomegames2/Makefile @@ -3,14 +3,14 @@ # Whom: Joe Marcus Clarke # # $FreeBSD$ -# $MCom: ports/games/gnomegames2/Makefile,v 1.104 2006/03/02 20:36:47 mezz Exp $ +# $MCom: ports/games/gnomegames2/Makefile,v 1.105 2006/03/13 06:40:33 mezz Exp $ # PORTNAME= gnomegames2 PORTVERSION= 2.13.8 CATEGORIES= games gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-games/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/gnome-games/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-games-${PORTVERSION} DIST_SUBDIR= gnome2 -- cgit v1.2.3