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 /mail | |
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 'mail')
-rw-r--r-- | mail/evolution-exchange/Makefile | 4 | ||||
-rw-r--r-- | mail/evolution/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile index 7c812db19..8a5b256ab 100644 --- a/mail/evolution-exchange/Makefile +++ b/mail/evolution-exchange/Makefile @@ -3,14 +3,14 @@ # Whom: Adam Weinberger, based off kiesel's ximian-exchange port # # $FreeBSD$ -# $MCom: ports/mail/evolution-exchange/Makefile,v 1.53 2006/03/02 20:44:15 mezz Exp $ +# $MCom: ports/mail/evolution-exchange/Makefile,v 1.54 2006/03/13 06:47:11 mezz Exp $ # PORTNAME= evolution-exchange PORTVERSION= 2.5.92 CATEGORIES= mail gnome MASTER_SITES= ${MASTER_SITE_GNOME} -MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION:R} +MASTER_SITE_SUBDIR= sources/${PORTNAME}${PKGNAMESUFFIX}/${PORTVERSION:C/^([0-9]+)\.([0-9]+).*/\1.\2/} DIST_SUBDIR= gnome2 MAINTAINER= kiesel@schlund.de diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 2715b1c5e..d20e7d441 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -3,14 +3,14 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/mail/evolution/Makefile,v 1.93 2006/02/28 02:13:22 marcus Exp $ +# $MCom: ports/mail/evolution/Makefile,v 1.94 2006/03/13 06:47:11 mezz Exp $ # PORTNAME= evolution PORTVERSION= 2.5.92 CATEGORIES= mail 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 |