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 /net/gnome-nettool | |
parent | d43cb4e97e502ba0830558dfdab1427cbd4ede69 (diff) | |
download | marcuscom-ports-ddd409c98abe6dc5224ebdffeb22041e698e5c55.tar.gz 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 'net/gnome-nettool')
-rw-r--r-- | net/gnome-nettool/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 <adamw@FreeBSD.org> # # $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 |