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 /games/linux-enemyterritory-etpro | |
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 'games/linux-enemyterritory-etpro')
-rw-r--r-- | games/linux-enemyterritory-etpro/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/games/linux-enemyterritory-etpro/Makefile b/games/linux-enemyterritory-etpro/Makefile index 8380ecc337b6..e49243af09b1 100644 --- a/games/linux-enemyterritory-etpro/Makefile +++ b/games/linux-enemyterritory-etpro/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= etpro -PORTVERSION= 3.2.6 +DISTVERSION= 3_2_6 CATEGORIES= games linux MASTER_SITES= http://bani.anime.net/etpro/ \ http://dl.vpclan.de/etpro/ \ @@ -12,7 +12,6 @@ MASTER_SITES= http://bani.anime.net/etpro/ \ http://www.dakteam.org/ \ http://www.enemyterritory.cl/files/ PKGNAMEPREFIX= linux-enemyterritory- -DISTNAME= ${PORTNAME}-${PORTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= ET Pro - Enemy Territory Competition Mod @@ -25,7 +24,7 @@ NO_WRKSUBDIR= yes DATADIR= ${PREFIX}/lib/enemyterritory/${PORTNAME} -PLIST_SUB= VERSION="${PORTVERSION:S/./_/g}" +PLIST_SUB= VERSION="${DISTVERSION}" do-build: .for f in et etded |