summaryrefslogtreecommitdiff
path: root/games/54321/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 02:28:12 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 02:28:12 +0000
commitfd318ea17c8e9b0088515dc3954a3225ffd57a34 (patch)
treefecf297648c951c26f30aee32609d6d12f258137 /games/54321/files
parentAdd p5-RDF-Notation3 0.40, RDF Notation3 parser. (diff)
add 54321
54321 is five games in four-, three-, or two-dimensions for one player PR: 32197 Submitted by: Leland Wang <llwang@infor.org>
Diffstat (limited to 'games/54321/files')
-rw-r--r--games/54321/files/54321.sh3
-rw-r--r--games/54321/files/variables.GNU23
2 files changed, 26 insertions, 0 deletions
diff --git a/games/54321/files/54321.sh b/games/54321/files/54321.sh
new file mode 100644
index 000000000000..84240b6434c2
--- /dev/null
+++ b/games/54321/files/54321.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd @PREFIX@/share/54321/bin/FreeBSD
+exec ./54321 $*
diff --git a/games/54321/files/variables.GNU b/games/54321/files/variables.GNU
new file mode 100644
index 000000000000..e5867629c037
--- /dev/null
+++ b/games/54321/files/variables.GNU
@@ -0,0 +1,23 @@
+############################################################
+CXX := c++
+STRIP := strip
+############################################################
+MKDIR_CMD = test -d $(@D) || mkdir -p $(@D)
+############################################################
+
+SDL := /usr/local
+SDL_IMAGE := /usr/local
+
+CPPFLAGS += -I${SDL}/include/SDL11 -I${SDL_IMAGE}/include/SDL11
+LDFLAGS += \
+ -L${SDL_IMAGE}/lib -Wl,-rpath -Wl,${SDL_IMAGE}/lib \
+ -L${SDL}/lib -Wl,-rpath -Wl,${SDL}/lib \
+ -lSDL_image -lSDL-1.1 -lSDLmain-1.1 -pthread -lpng
+
+prog: Release/54321-$(ARCH)
+
+Release/54321-$(ARCH):
+ -@$(MKDIR_CMD)
+ echo '#!/bin/sh' > $@
+ echo "cd ./bin/$(ARCH) && exec ./54321 \$$*" >> $@
+ chmod 755 $@