diff options
author | mat <mat@FreeBSD.org> | 2015-05-12 02:34:57 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-05-12 02:34:57 +0800 |
commit | d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389 (patch) | |
tree | 634e1ef4990207301493f26b46d80abe56b9f2b3 /cad | |
parent | 925f5606448b4e40652ba0a13bfb8cd44c8aac89 (diff) | |
download | freebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.tar.gz freebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.tar.zst freebsd-ports-gnome-d843ecd4966c8a5bed60cf3aaeb27edb6b5b2389.zip |
Cleanup DIST* variables.
When appropriate:
- Try to use DISTVERSION{SUF,PRE}FIX
- Replace PORTNAME-PORTVERSION by DISTNAME
- Convert MASTER_SITES to use macros
- Other light cleanup
With hat: portmgr
Sponsored by: Absolight
Diffstat (limited to 'cad')
-rw-r--r-- | cad/alliance/Makefile | 3 | ||||
-rw-r--r-- | cad/electric/Makefile | 3 | ||||
-rw-r--r-- | cad/gnucap/Makefile | 3 | ||||
-rw-r--r-- | cad/tochnog/Makefile | 2 |
4 files changed, 4 insertions, 7 deletions
diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile index e234d90983d1..30eaa7be1946 100644 --- a/cad/alliance/Makefile +++ b/cad/alliance/Makefile @@ -2,12 +2,11 @@ # $FreeBSD$ PORTNAME= alliance -PORTVERSION= 5.0.20120515 +DISTVERSION= 5.0-20120515 CATEGORIES= cad MASTER_SITES= http://ftp.lyx.org/lip6/softs/alliance/distribution/5.0/ \ http://ftp.jussieu.fr/lip6/softs/alliance/distribution/5.0/ \ http://www-asim.lip6.fr/pub/alliance/distribution/5.0/ -DISTNAME= ${PORTNAME}-${PORTVERSION:R}-${PORTVERSION:E} MAINTAINER= ports@FreeBSD.org COMMENT= Complete set of CAD tools and libraries for VLSI design diff --git a/cad/electric/Makefile b/cad/electric/Makefile index 3076f46a683f..4e4ddf65c24a 100644 --- a/cad/electric/Makefile +++ b/cad/electric/Makefile @@ -5,8 +5,7 @@ PORTNAME= electric PORTVERSION= 7.0.0 PORTREVISION= 4 CATEGORIES= cad -MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= ${PORTNAME} +MASTER_SITES= GNU DISTNAME= ${PORTNAME}-${PORTVERSION:C/^(...)\./\1/} MAINTAINER= ports@FreeBSD.org diff --git a/cad/gnucap/Makefile b/cad/gnucap/Makefile index 0ce3d8a80223..d44af868604e 100644 --- a/cad/gnucap/Makefile +++ b/cad/gnucap/Makefile @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= gnucap -PORTVERSION= 2009.12.07 +DISTVERSION= 2009-12-07 CATEGORIES= cad MASTER_SITES= http://www.gnucap.org/devel/ \ http://www.gnucap.org/devel/archive/ -DISTNAME= ${PORTNAME}-${PORTVERSION:S/./-/g} MAINTAINER= ports@FreeBSD.org COMMENT= The GNU Circuit Analysis Package diff --git a/cad/tochnog/Makefile b/cad/tochnog/Makefile index d231eeca5b6b..33c01880cb9e 100644 --- a/cad/tochnog/Makefile +++ b/cad/tochnog/Makefile @@ -8,7 +8,7 @@ CATEGORIES= cad MASTER_SITES= SF/${PORTNAME}/Tochnog%20Latest%20January%202014 DISTFILES= Sources${EXTRACT_SUFX} gid${EXTRACT_SUFX} \ tools${EXTRACT_SUFX} test${EXTRACT_SUFX} -DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ${DISTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Free explicit/implicit Finite Element Program |