pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

freedoom: Minor modifications



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <michael.baeuerle%stz-e.de@localhost>
Pushed By:	micha
Date:		Wed Aug 21 15:07:59 2019 +0200
Changeset:	b5c998aa273d09bf3ce5983977b1446ae6a94288

Modified Files:
	freedoom/DESCR
	freedoom/Makefile
Added Files:
	freedoom/MESSAGE.freedoom

Log Message:
freedoom: Minor modifications

- Add comment to DESCR that no game engine is included
- Add MESSAGE that notes the installed wad files and their location
- Add NO_CONFIGURE=yes to Makefile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b5c998aa273d09bf3ce5983977b1446ae6a94288

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 freedoom/DESCR            |  2 ++
 freedoom/MESSAGE.freedoom | 10 ++++++++++
 freedoom/Makefile         | 14 ++++++++++++--
 3 files changed, 24 insertions(+), 2 deletions(-)

diffs:
diff --git a/freedoom/DESCR b/freedoom/DESCR
index 5cc9ecc33d..22ee4393cf 100644
--- a/freedoom/DESCR
+++ b/freedoom/DESCR
@@ -11,3 +11,5 @@ sound effects and music to make a completely free game.
 Freedoom is actually three games in one, consisting of two single
 player campaigns and one set of levels intended for multiplayer
 deathmatch (FreeDM).
+
+Note: This package contains no game engine, only the data (wad) files.
diff --git a/freedoom/MESSAGE.freedoom b/freedoom/MESSAGE.freedoom
new file mode 100644
index 0000000000..5c81107c73
--- /dev/null
+++ b/freedoom/MESSAGE.freedoom
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD$
+
+Note: The IWAD files freedoom1.wad and freedoom2.wad has been installed to:
+
+	${DOOMWADDIR}
+
+This is the pkgsrc standard Doom WAD directory location (shared with other
+Doom packages).
+===========================================================================
diff --git a/freedoom/Makefile b/freedoom/Makefile
index a29fe11d4b..55df20333a 100644
--- a/freedoom/Makefile
+++ b/freedoom/Makefile
@@ -8,13 +8,23 @@ EXTRACT_SUFX=	.zip
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=	https://freedoom.github.io/
-COMMENT=	Free content game based on Doom engine
+COMMENT=	Free content game for Doom engine
 LICENSE=	modified-bsd
 
 USE_LANGUAGES=	# none
 
+# DOOMWADDIR is intentionally shared with other Doom packages
+DOOMWADDIR=		share/doom
+INSTALLATION_DIRS=	${DOOMWADDIR}
+
+MESSAGE_SRC+=		MESSAGE.freedoom
+MESSAGE_SUBST+=		DOOMWADDIR="${PREFIX}/${DOOMWADDIR}"
+
+# The pkgsrc documentation says:
+# If there is no configure step at all, set NO_CONFIGURE to "yes".
+# Is NO_CONFIGURE required if NO_BUILD is set?
+NO_CONFIGURE=		yes
 NO_BUILD=		yes
-INSTALLATION_DIRS=	share/doom
 
 do-install:
 	${INSTALL_DATA} ${WRKSRC}/freedoom1.wad \


Home | Main Index | Thread Index | Old Index