diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2001-07-08 03:41:27 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2001-07-08 03:41:27 +0800 |
commit | 4abe7a1b7eb01f4cc2193ecd713b1f12f20beb53 (patch) | |
tree | 903a0db0b73ccbff633bf06e5afac3d331497d29 | |
parent | 184c47115462e061bebfe57420e153ebc6999ce6 (diff) | |
download | freebsd-ports-gnome-4abe7a1b7eb01f4cc2193ecd713b1f12f20beb53.tar.gz freebsd-ports-gnome-4abe7a1b7eb01f4cc2193ecd713b1f12f20beb53.tar.zst freebsd-ports-gnome-4abe7a1b7eb01f4cc2193ecd713b1f12f20beb53.zip |
Use variables instead of hardcoded version #'s in Makefile and
PKG-PLIST
PR: 28793
Submitted by: maintainer
-rw-r--r-- | games/yadex/Makefile | 3 | ||||
-rw-r--r-- | games/yadex/pkg-plist | 30 |
2 files changed, 17 insertions, 16 deletions
diff --git a/games/yadex/Makefile b/games/yadex/Makefile index e5867d7556e1..b50cea773931 100644 --- a/games/yadex/Makefile +++ b/games/yadex/Makefile @@ -14,10 +14,11 @@ MAINTAINER= fracture@allusion.net USE_GMAKE= yes MAKEFILE= GNUmakefile +PLIST_SUB+= PORTVERSION=${PORTVERSION} MAN6= yadex.6 ybsp.6 post-install: - ${CHMOD} 644 ${PREFIX}/etc/yadex/1.5.2/yadex.cfg + ${CHMOD} 644 ${PREFIX}/etc/yadex/${PORTVERSION}/yadex.cfg .include <bsd.port.mk> diff --git a/games/yadex/pkg-plist b/games/yadex/pkg-plist index 637ca3ea3632..df618ade5dc6 100644 --- a/games/yadex/pkg-plist +++ b/games/yadex/pkg-plist @@ -1,19 +1,19 @@ bin/yadex -bin/yadex-1.5.2 +bin/yadex-%%PORTVERSION%% bin/ybsp -bin/ybsp-1.5.2 -etc/yadex/1.5.2/yadex.cfg -share/yadex/1.5.2/doom.ygd -share/yadex/1.5.2/doom02.ygd -share/yadex/1.5.2/doom04.ygd -share/yadex/1.5.2/doom05.ygd -share/yadex/1.5.2/doom2.ygd -share/yadex/1.5.2/doompr.ygd -share/yadex/1.5.2/heretic.ygd -share/yadex/1.5.2/hexen.ygd -share/yadex/1.5.2/strife.ygd -share/yadex/1.5.2/strife10.ygd -@dirrm share/yadex/1.5.2 +bin/ybsp-%%PORTVERSION%% +etc/yadex/%%PORTVERSION%%/yadex.cfg +share/yadex/%%PORTVERSION%%/doom.ygd +share/yadex/%%PORTVERSION%%/doom02.ygd +share/yadex/%%PORTVERSION%%/doom04.ygd +share/yadex/%%PORTVERSION%%/doom05.ygd +share/yadex/%%PORTVERSION%%/doom2.ygd +share/yadex/%%PORTVERSION%%/doompr.ygd +share/yadex/%%PORTVERSION%%/heretic.ygd +share/yadex/%%PORTVERSION%%/hexen.ygd +share/yadex/%%PORTVERSION%%/strife.ygd +share/yadex/%%PORTVERSION%%/strife10.ygd +@dirrm share/yadex/%%PORTVERSION%% @dirrm share/yadex -@dirrm etc/yadex/1.5.2 +@dirrm etc/yadex/%%PORTVERSION%% @dirrm etc/yadex |