pkgsrc-WIP-changes archive

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

add wanderer package



Module Name:	pkgsrc-wip
Committed By:	Marina Brown <catskillmarina%gmail.com@localhost>
Pushed By:	catskillmarina
Date:		Thu Jan 14 00:40:53 2016 +0000
Changeset:	69872ee53c75c34717d321a27b997c9c4e97889f

Added Files:
	wanderer/DESCR
	wanderer/Makefile
	wanderer/Makefile-url2pkg.bak
	wanderer/PLIST
	wanderer/distinfo

Log Message:
add wanderer package

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

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

diffstat:
 wanderer/DESCR                |  6 +++++
 wanderer/Makefile             | 46 ++++++++++++++++++++++++++++++++
 wanderer/Makefile-url2pkg.bak | 14 ++++++++++
 wanderer/PLIST                | 62 +++++++++++++++++++++++++++++++++++++++++++
 wanderer/distinfo             |  5 ++++
 5 files changed, 133 insertions(+)

diffs:
diff --git a/wanderer/DESCR b/wanderer/DESCR
new file mode 100644
index 0000000..c5f32aa
--- /dev/null
+++ b/wanderer/DESCR
@@ -0,0 +1,6 @@
+Wanderer is a game similar to Boulderdash, Repton, XOR and others.
+A full description of how to play the game is given upon execution.
+The hiscore table holds only 15 scores, and the name displayed is
+taken from the environment variable NAME. If you wish to have a
+different alias without changing this variable, you can set the
+variable NEWNAME before playing.
diff --git a/wanderer/Makefile b/wanderer/Makefile
new file mode 100644
index 0000000..81e38fc
--- /dev/null
+++ b/wanderer/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD$
+
+DISTNAME=	wanderer-dev
+PKGREVISION=    1
+CATEGORIES=	games
+MASTER_SITES=	http://e271.net/~marina/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	catskillmarina%gmail.com@localhost
+HOMEPAGE=	http://e271.net/~marina/wanderer.html
+COMMENT=	Wanderer is a game similar to Boulderdash, Repton, XOR and others
+LICENSE=	gnu-gpl-v2
+
+INSTALLATION_DIRS+=     man man/man6 bin share/wanderer share/wanderer/screens games
+
+do-build:
+	${MV} ${WRKSRC}/wand_head.h ${WRKSRC}/wand_head.h.pre
+	${SED} -e "s,/usr/local/share/wanderer/screens,${PREFIX}/share/wanderer/screens," \
+               -e "s,/var/games/wandererscores,${PREFIX}/games/wandererscores," \
+		${WRKSRC}/wand_head.h.pre > ${WRKSRC}/wand_head.h
+	${MV} ${WRKSRC}/wand_head.h ${WRKSRC}/wand_head.h.pre
+	${SED} -e "s,#include <ncurses.h>,#include <curses.h>," \
+		${WRKSRC}/wand_head.h.pre > ${WRKSRC}/wand_head.h
+	${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.pre
+	${SED} -e 's|${DESTDIR}||' ${WRKSRC}/Makefile.pre  \
+            > ${WRKSRC}/Makefile
+	${SED} -i -e "s,/usr/local/,${PREFIX}/," ${WRKSRC}/Makefile
+	cd ${WRKSRC}; make
+
+do-install:
+	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wanderer
+	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/games
+	echo ${DESTDIR}${PREFIX}/games
+	echo ${DESTDIR}${PREFIX}/games
+	echo ${DESTDIR}${PREFIX}/games
+	echo ${DESTDIR}${PREFIX}/games
+	echo ${DESTDIR}${PREFIX}/games
+	${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/wanderer/screens
+	${INSTALL_DATA} -m 0644 ${WRKSRC}/screens/* ${DESTDIR}${PREFIX}/share/wanderer/screens/
+	${CP} ${WRKSRC}/wanderer ${DESTDIR}${PREFIX}/bin/
+	${CHOWN} root:games ${DESTDIR}${PREFIX}/bin/wanderer
+	${CHMOD} 2755  ${DESTDIR}${PREFIX}/bin/wanderer
+	${INSTALL_MAN} ${WRKSRC}/wanderer.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/
+
+.include "../../mk/bsd.pkg.mk"
+.include "../../mk/curses.buildlink3.mk"
diff --git a/wanderer/Makefile-url2pkg.bak b/wanderer/Makefile-url2pkg.bak
new file mode 100644
index 0000000..61a252c
--- /dev/null
+++ b/wanderer/Makefile-url2pkg.bak
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=	wanderer-dev
+CATEGORIES=	games
+MASTER_SITES=	http://e271.net/~marina/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	catskillmarina%gmail.com@localhost
+HOMEPAGE=	http://e271.net/~marina/wanderer.html
+COMMENT=	Wanderer  is a game similar to Boulderdash, Repton, XOR and others
+LICENSE=	gnu-gpl-v2
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff --git a/wanderer/PLIST b/wanderer/PLIST
new file mode 100644
index 0000000..6a1e721
--- /dev/null
+++ b/wanderer/PLIST
@@ -0,0 +1,62 @@
+@comment $NetBSD$
+bin/wanderer
+man/man6/wanderer.6
+share/wanderer/screens/credits
+share/wanderer/screens/screen.1
+share/wanderer/screens/screen.10
+share/wanderer/screens/screen.11
+share/wanderer/screens/screen.12
+share/wanderer/screens/screen.13
+share/wanderer/screens/screen.14
+share/wanderer/screens/screen.15
+share/wanderer/screens/screen.16
+share/wanderer/screens/screen.17
+share/wanderer/screens/screen.18
+share/wanderer/screens/screen.19
+share/wanderer/screens/screen.2
+share/wanderer/screens/screen.20
+share/wanderer/screens/screen.21
+share/wanderer/screens/screen.22
+share/wanderer/screens/screen.23
+share/wanderer/screens/screen.24
+share/wanderer/screens/screen.25
+share/wanderer/screens/screen.26
+share/wanderer/screens/screen.27
+share/wanderer/screens/screen.28
+share/wanderer/screens/screen.29
+share/wanderer/screens/screen.3
+share/wanderer/screens/screen.30
+share/wanderer/screens/screen.31
+share/wanderer/screens/screen.32
+share/wanderer/screens/screen.33
+share/wanderer/screens/screen.34
+share/wanderer/screens/screen.35
+share/wanderer/screens/screen.36
+share/wanderer/screens/screen.37
+share/wanderer/screens/screen.38
+share/wanderer/screens/screen.39
+share/wanderer/screens/screen.4
+share/wanderer/screens/screen.40
+share/wanderer/screens/screen.41
+share/wanderer/screens/screen.42
+share/wanderer/screens/screen.43
+share/wanderer/screens/screen.44
+share/wanderer/screens/screen.45
+share/wanderer/screens/screen.46
+share/wanderer/screens/screen.47
+share/wanderer/screens/screen.48
+share/wanderer/screens/screen.49
+share/wanderer/screens/screen.5
+share/wanderer/screens/screen.50
+share/wanderer/screens/screen.51
+share/wanderer/screens/screen.52
+share/wanderer/screens/screen.53
+share/wanderer/screens/screen.54
+share/wanderer/screens/screen.55
+share/wanderer/screens/screen.56
+share/wanderer/screens/screen.57
+share/wanderer/screens/screen.58
+share/wanderer/screens/screen.59
+share/wanderer/screens/screen.6
+share/wanderer/screens/screen.60
+share/wanderer/screens/screen.61
diff --git a/wanderer/distinfo b/wanderer/distinfo
new file mode 100644
index 0000000..03cd0ff
--- /dev/null
+++ b/wanderer/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (wanderer-dev.tgz) = 6ccc3dee8be2cd77c23326c667c36e9cc228163f
+RMD160 (wanderer-dev.tgz) = e59195b8691244d49e84671e9220ae3f9e0409d0
+Size (wanderer-dev.tgz) = 164992 bytes


Home | Main Index | Thread Index | Old Index