diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-11-23 02:28:12 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-11-23 02:28:12 +0000 |
commit | aa4c0f4e68c98006ed294e19c66f081ef7a24745 (patch) | |
tree | 75165a9d6920a81ab34483baa3390ac269260716 /games/54321/files | |
parent | e6c44ce695260d93f3bd30402a1a6364c5371910 (diff) | |
download | FreeBSD-ports-aa4c0f4e68c98006ed294e19c66f081ef7a24745.zip FreeBSD-ports-aa4c0f4e68c98006ed294e19c66f081ef7a24745.tar.gz |
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.sh | 3 | ||||
-rw-r--r-- | games/54321/files/variables.GNU | 23 |
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 0000000..84240b6 --- /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 0000000..e586762 --- /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 $@ |