diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-07-07 19:41:27 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2001-07-07 19:41:27 +0000 |
commit | 65ac9cd50cc1be1d87b93ac77382bf97a5055729 (patch) | |
tree | f3bf5da7421b494c699822c5c716c828567a2eb0 /games | |
parent | upgrade to 0.4.25p3 (diff) |
Use variables instead of hardcoded version #'s in Makefile and
PKG-PLIST
PR: 28793
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=44890
Diffstat (limited to '')
-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 |