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 --- net/gnome-nettool/Makefile | 4 ++-- net/gnomenettool/Makefile | 4 ++-- net/vino/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'net') diff --git a/net/gnome-nettool/Makefile b/net/gnome-nettool/Makefile index 089857d7c..97043f150 100644 --- a/net/gnome-nettool/Makefile +++ b/net/gnome-nettool/Makefile @@ -3,7 +3,7 @@ # Whom: Adam Weinberger # # $FreeBSD$ -# $MCom: ports/net/gnomenettool/Makefile,v 1.17 2006/03/02 20:53:10 mezz Exp $ +# $MCom: ports/net/gnomenettool/Makefile,v 1.18 2006/03/13 06:55:51 mezz Exp $ # PORTNAME= gnomenettool @@ -11,7 +11,7 @@ PORTVERSION= 2.13.91 PORTEPOCH= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-nettool/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/gnome-nettool/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-nettool-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/net/gnomenettool/Makefile b/net/gnomenettool/Makefile index 089857d7c..97043f150 100644 --- a/net/gnomenettool/Makefile +++ b/net/gnomenettool/Makefile @@ -3,7 +3,7 @@ # Whom: Adam Weinberger # # $FreeBSD$ -# $MCom: ports/net/gnomenettool/Makefile,v 1.17 2006/03/02 20:53:10 mezz Exp $ +# $MCom: ports/net/gnomenettool/Makefile,v 1.18 2006/03/13 06:55:51 mezz Exp $ # PORTNAME= gnomenettool @@ -11,7 +11,7 @@ PORTVERSION= 2.13.91 PORTEPOCH= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/gnome-nettool/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/gnome-nettool/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= gnome-nettool-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/net/vino/Makefile b/net/vino/Makefile index 4200abad5..2d1a1e0d2 100644 --- a/net/vino/Makefile +++ b/net/vino/Makefile @@ -3,14 +3,14 @@ # Whom: Tom McLaughlin # # $FreeBSD$ -# $MCom: ports/net/vino/Makefile,v 1.25 2006/03/02 20:53:10 mezz Exp $ +# $MCom: ports/net/vino/Makefile,v 1.26 2006/03/13 06:55:51 mezz Exp $ # PORTNAME= vino PORTVERSION= 2.13.5 CATEGORIES= net 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/} MAINTAINER= gnome@FreeBSD.org COMMENT= VNC server that allows for remote access to your GNOME desktop -- cgit v1.2.3