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 --- archivers/file-roller/Makefile | 4 ++-- archivers/fileroller/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'archivers') diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 03a0dde8e..91e9bda8c 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -3,7 +3,7 @@ # Whom: Anders Nordby # # $FreeBSD$ -# $MCom: ports/archivers/fileroller/Makefile,v 1.88 2006/03/02 20:10:28 mezz Exp $ +# $MCom: ports/archivers/fileroller/Makefile,v 1.89 2006/03/13 06:07:44 mezz Exp $ # PORTNAME= fileroller @@ -11,7 +11,7 @@ PORTVERSION= 2.13.92 PORTEPOCH= 1 CATEGORIES= archivers gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/file-roller/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/file-roller/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= file-roller-${PORTVERSION} DIST_SUBDIR= gnome2 diff --git a/archivers/fileroller/Makefile b/archivers/fileroller/Makefile index 03a0dde8e..91e9bda8c 100644 --- a/archivers/fileroller/Makefile +++ b/archivers/fileroller/Makefile @@ -3,7 +3,7 @@ # Whom: Anders Nordby # # $FreeBSD$ -# $MCom: ports/archivers/fileroller/Makefile,v 1.88 2006/03/02 20:10:28 mezz Exp $ +# $MCom: ports/archivers/fileroller/Makefile,v 1.89 2006/03/13 06:07:44 mezz Exp $ # PORTNAME= fileroller @@ -11,7 +11,7 @@ PORTVERSION= 2.13.92 PORTEPOCH= 1 CATEGORIES= archivers gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/file-roller/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/file-roller/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DISTNAME= file-roller-${PORTVERSION} DIST_SUBDIR= gnome2 -- cgit v1.2.3