aboutsummaryrefslogtreecommitdiffstats
path: root/games/affenspiel
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2005-04-28 16:04:58 +0800
committervs <vs@FreeBSD.org>2005-04-28 16:04:58 +0800
commit636e97ef2b5f30dc7f6b9feb614392105d0429be (patch)
treee16c6114e0015ddd943604fd9890b760c808ade1 /games/affenspiel
parent346aefc32e1173db5860d25782fed836220f864a (diff)
downloadfreebsd-ports-gnome-636e97ef2b5f30dc7f6b9feb614392105d0429be.tar.gz
freebsd-ports-gnome-636e97ef2b5f30dc7f6b9feb614392105d0429be.tar.zst
freebsd-ports-gnome-636e97ef2b5f30dc7f6b9feb614392105d0429be.zip
Use MAKE_ARGS, PLIST_FILES, PORTDOCS
Diffstat (limited to 'games/affenspiel')
-rw-r--r--games/affenspiel/Makefile8
-rw-r--r--games/affenspiel/files/patch-aa25
-rw-r--r--games/affenspiel/pkg-plist4
3 files changed, 8 insertions, 29 deletions
diff --git a/games/affenspiel/Makefile b/games/affenspiel/Makefile
index 0c48b50b9742..dfc9bd6c06ce 100644
--- a/games/affenspiel/Makefile
+++ b/games/affenspiel/Makefile
@@ -17,6 +17,14 @@ COMMENT= Little puzzle game with monkey for X Window System
WRKSRC= ${WRKDIR}/affenspiel
USE_X_PREFIX= yes
+CFLAGS+= -I${X11BASE}/include
+MAKE_ARGS= CC="${CC}" LIBS="-L${X11BASE}/lib -lX11" DEBUG="${CFLAGS}" \
+ FILE_CONFIG=-DSAVED_GAME_NAME='\"affenspiel.saved\"'
+
+PLIST_FILES= bin/affenspiel
+.if !defined(NOPORTDOCS)
+PORTDOCS= COPYRIGHT README
+.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/affenspiel ${PREFIX}/bin
diff --git a/games/affenspiel/files/patch-aa b/games/affenspiel/files/patch-aa
deleted file mode 100644
index 5b3ff9ad4ce2..000000000000
--- a/games/affenspiel/files/patch-aa
+++ /dev/null
@@ -1,25 +0,0 @@
---- Makefile.orig Mon Mar 6 05:47:27 1995
-+++ Makefile Wed Mar 29 21:58:34 2000
-@@ -5,17 +5,17 @@
- PROGNAME = affenspiel
-
- RM = rm -f
--CC = gcc
-+CC ?= gcc
-
--FILE_CONFIG = -DSAVED_GAME_NAME=\"/tmp/affenspiel.saved\"
-+FILE_CONFIG = -DSAVED_GAME_NAME=\"affenspiel.saved\"
-
- CONFIG = $(FILE_CONFIG)
- #DEBUG = -DDEBUG -g -ansi
- #DEBUG = -DDEBUG -g -ansi -pedantic
--DEBUG = -O2
-+#DEBUG = -O2
-
--CFLAGS = $(DEBUG) $(CONFIG)
--LIBS = -lX11
-+CFLAGS += $(CONFIG) -I${X11BASE}/include
-+LIBS = -L${X11BASE}/lib -lX11
-
- OBJS = das_mit_dem_affen.o
-
diff --git a/games/affenspiel/pkg-plist b/games/affenspiel/pkg-plist
deleted file mode 100644
index a6b6469d69f2..000000000000
--- a/games/affenspiel/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/affenspiel
-%%PORTDOCS%%share/doc/affenspiel/COPYRIGHT
-%%PORTDOCS%%share/doc/affenspiel/README
-%%PORTDOCS%%@dirrm share/doc/affenspiel