aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-28 09:13:11 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-28 09:13:11 +0000
commit39253180410d390f7d478dffd02d56f14a536114 (patch)
treec4beba3874671bc4cd4f31a1bf146ae4218c5c68
parent4425d422ede8451f0f8ab049073a4de33894ce4e (diff)
downloadports-39253180410d390f7d478dffd02d56f14a536114.tar.gz
ports-39253180410d390f7d478dffd02d56f14a536114.zip
Notes
-rw-r--r--games/xchain/Makefile3
-rw-r--r--games/xchain/files/patch-ab13
-rw-r--r--games/xchain/pkg-plist4
3 files changed, 3 insertions, 17 deletions
diff --git a/games/xchain/Makefile b/games/xchain/Makefile
index 147f46c4d155..6f9dd9a0a5a1 100644
--- a/games/xchain/Makefile
+++ b/games/xchain/Makefile
@@ -17,9 +17,12 @@ COMMENT= Chain Reaction, a strategy game for 2-4 players
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
WRKSRC= ${WRKDIR}/${PORTNAME}-1.0
+MAKE_ARGS= CC="${CC}" CFLAGS='${CFLAGS} -DDEF_WISH_PATH=\"${LOCALBASE}/bin/wish8.2\"'
USE_X_PREFIX= yes
MAN6= xchain.6
+PLIST_FILES= bin/xchain
+PORTDOCS= README copyright
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin
diff --git a/games/xchain/files/patch-ab b/games/xchain/files/patch-ab
deleted file mode 100644
index 733c7c56a9cd..000000000000
--- a/games/xchain/files/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Wed Feb 25 03:50:23 1998
-+++ Makefile Sat Jun 10 11:32:52 2000
-@@ -1,8 +1,8 @@
- DESTDIR = /
- # This is so dpkg-buildpackage can build in the correct dir
-
--CC=gcc
--CFLAGS=-O2 -Wall
-+#CC=gcc
-+CFLAGS+=-DDEF_WISH_PATH=\"${LOCALBASE}/bin/wish8.2\"
-
- OBJS= xchain.o
-
diff --git a/games/xchain/pkg-plist b/games/xchain/pkg-plist
deleted file mode 100644
index edec1a49ae1c..000000000000
--- a/games/xchain/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/xchain
-share/doc/xchain/README
-share/doc/xchain/copyright
-@dirrm share/doc/xchain