pkgsrc-WIP-changes archive

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

woof: Install share/doc/INSTALL.pkgsrc



Module Name:	pkgsrc-wip
Committed By:	Michael Baeuerle <micha%NetBSD.org@localhost>
Pushed By:	micha
Date:		Thu Apr 30 13:14:29 2020 +0200
Changeset:	beca1d8c2ec540a1c32f57bd97e962314c5fa3f1

Modified Files:
	woof/Makefile
	woof/PLIST
Added Files:
	woof/files/INSTALL.pkgsrc

Log Message:
woof: Install share/doc/INSTALL.pkgsrc

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

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

diffstat:
 woof/Makefile             | 5 +++++
 woof/PLIST                | 1 +
 woof/files/INSTALL.pkgsrc | 6 ++++++
 3 files changed, 12 insertions(+)

diffs:
diff --git a/woof/Makefile b/woof/Makefile
index a9401dbe5e..4855d5289e 100644
--- a/woof/Makefile
+++ b/woof/Makefile
@@ -31,6 +31,11 @@ SUBST_SED.waddir+=	-e 's,PKGSRC_DOOMWADDIR,"/${DOOMWADDIR}",'
 
 pre-configure:
 	cd ${WRKSRC}; mkdir build
+	${CP} ${FILESDIR}/INSTALL.pkgsrc ${WRKDIR}
+
+post-install:
+	${INSTALL_DATA} ${WRKDIR}/INSTALL.pkgsrc \
+		${DESTDIR}${PREFIX}/share/doc/woof/INSTALL.pkgsrc
 
 .include "../../audio/SDL2_mixer/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
diff --git a/woof/PLIST b/woof/PLIST
index 52d8dfede6..70f6b84a08 100644
--- a/woof/PLIST
+++ b/woof/PLIST
@@ -2,6 +2,7 @@
 bin/woof
 share/applications/woof.desktop
 share/doc/woof/COPYING
+share/doc/woof/INSTALL.pkgsrc
 share/doc/woof/README.md
 share/doc/woof/boom.txt
 share/doc/woof/boomdeh.txt
diff --git a/woof/files/INSTALL.pkgsrc b/woof/files/INSTALL.pkgsrc
new file mode 100644
index 0000000000..0d564bb82a
--- /dev/null
+++ b/woof/files/INSTALL.pkgsrc
@@ -0,0 +1,6 @@
+The location of the woof WAD directory has been set to:
+
+   DOOMWADDIR
+
+This is the pkgsrc standard Doom WAD directory location (shared with other
+Doom packages).


Home | Main Index | Thread Index | Old Index