diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-03-14 03:31:50 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-03-14 03:31:50 +0800 |
commit | ddd409c98abe6dc5224ebdffeb22041e698e5c55 (patch) | |
tree | 06f7e1c866ff3a41afb3ee96e585d37c57b4fddc /misc | |
parent | d43cb4e97e502ba0830558dfdab1427cbd4ede69 (diff) | |
download | marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.gz marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.bz2 marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.lz marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.xz marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.zst marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.zip |
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
Diffstat (limited to 'misc')
-rw-r--r-- | misc/gnome-icon-theme/Makefile | 4 | ||||
-rw-r--r-- | misc/gnome-user-docs/Makefile | 4 | ||||
-rw-r--r-- | misc/gnomeuserdocs2/Makefile | 4 |
3 files changed, 6 insertions, 6 deletions
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 <marcus@FreeBSD.org> # # $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 <marcus@FreeBSD.org> # # $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 <marcus@FreeBSD.org> # # $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 |