summaryrefslogtreecommitdiff
path: root/games/xjewel/patches
diff options
context:
space:
mode:
authortron <tron>1999-08-13 19:04:55 +0000
committertron <tron>1999-08-13 19:04:55 +0000
commit4b59b18ee35cabf25808cd9ea4a18c8878b40730 (patch)
tree22db96bc7d8e4b44b08c145ed6afeba53bd11f9d /games/xjewel/patches
parent4bdfd51e574b8b8f536aef9028b33388014081f6 (diff)
downloadpkgsrc-4b59b18ee35cabf25808cd9ea4a18c8878b40730.tar.gz
Import new "xjewel" package submitted by Julian Coleman in PR pkg/8198:
xjewel - X windows dropping jewels game
Diffstat (limited to 'games/xjewel/patches')
-rw-r--r--games/xjewel/patches/patch-aa54
1 files changed, 54 insertions, 0 deletions
diff --git a/games/xjewel/patches/patch-aa b/games/xjewel/patches/patch-aa
new file mode 100644
index 00000000000..94f59b40c8a
--- /dev/null
+++ b/games/xjewel/patches/patch-aa
@@ -0,0 +1,54 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/08/13 19:04:56 tron Exp $
+
+--- Imakefile.orig Wed Feb 16 11:35:06 1994
++++ Imakefile Fri Aug 13 20:47:32 1999
+@@ -4,12 +4,11 @@
+ CDEBUGFLAGS = -O
+
+ # CHANGE HSCORE_FILE TO SUIT
+-#HSCORE_FILE=/usr/local/lib/xjewel.scores
+-HSCORE_FILE=xjewel.scores
++HSCORE_FILE=/var/games/xjewel.scores
+
+ # ADD YOUR ARCHITECTURE IF YOU USE SELECT INSTEAD OF POLL
+ #if defined(HPArchitecture) || defined(ApolloArchitecture) || \
+- defined(UltrixArchitecture)
++ defined(UltrixArchitecture) || defined(NetBSDArchitecture)
+ #define sel -DUSE_SELECT
+ #else
+ #define sel
+@@ -21,10 +20,10 @@
+ # DEFINE 'GETPWENT' if you dont have the cuserid ftn (hscore.c)
+ # DEFINE 'SLOW_FONTS=n' if your server is overly fast on fonts
+ # DEFINE 'SLOW_DRAW=n' if your server is overly fast on drawing
+-USERDEFS = -DICON_WINDOW
++USERDEFS = -DICON_WINDOW -DGETPWENT
+
+ # CHANGE FFILE TO REFLECT THE EXTENSION USED FOR COMPILED FONTS
+-FFILE = snf
++FFILE = pcf.gz
+
+ ##############################################################################
+ # X-STUFF...
+@@ -42,15 +41,19 @@
+
+
+ # LETS GET TO IT...
++INSTPGMFLAGS = -s -m 2555 -o root -g games
+ ComplexProgramTarget(xjewel)
+
+ # IF YOUR SERVER DOES NOT LIKE THE DEFAULT FONT COMPILER, EDIT HERE...
+ FontTarget($(FONT))
+ $(MKFONTDIR) bitmaps/
+
++MANSUFFIX=6
++
+ # FORCE FONT TO BE BUILT
+ all:: $(CFONT)
+
+ install::
+- touch $(HSCORE_FILE)
+- chmod a+w $(HSCORE_FILE)
++ touch $(HSCORE_FILE)
++ chown games:games $(HSCORE_FILE)
++ chmod 664 $(HSCORE_FILE)