summaryrefslogtreecommitdiff
path: root/games/xarchon
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-08-15 20:40:01 +0000
committerzuntum <zuntum@pkgsrc.org>2001-08-15 20:40:01 +0000
commit17e50b4a2a691d7e00d9681b794864b47f6ad00f (patch)
treeccdce8e31be2e330594b39af0324dc29c146a2c5 /games/xarchon
parent77e6e8af922cb9c9e2c9726b694b80d942ab5c85 (diff)
downloadpkgsrc-17e50b4a2a691d7e00d9681b794864b47f6ad00f.tar.gz
Converted to use buildlink.mk files, it simplified Makefile and patch-ab
a lot.
Diffstat (limited to 'games/xarchon')
-rw-r--r--games/xarchon/Makefile16
-rw-r--r--games/xarchon/distinfo4
-rw-r--r--games/xarchon/patches/patch-ab6
3 files changed, 11 insertions, 15 deletions
diff --git a/games/xarchon/Makefile b/games/xarchon/Makefile
index a82d6f2f501..8238fe0a8ad 100644
--- a/games/xarchon/Makefile
+++ b/games/xarchon/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2001/02/16 15:10:59 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2001/08/15 20:40:01 zuntum Exp $
#
DISTNAME= xarchon-0.50
@@ -10,15 +10,8 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://xarchon.seul.org/
COMMENT= Chess-like strategy game with battle options
-DEPENDS+= gtk+-1.2.*:../../x11/gtk
-DEPENDS+= esound-*:../../audio/esound
-
-USE_XPM= YES
-GNU_CONFIGURE= YES
-EVAL_PREFIX+= GTKDIR=gtk+ XPMDIR=xpm
-CONFIGURE_ARGS+=--with-xpm-prefix=${XPMDIR} \
- --with-gtk-prefix=${GTKDIR} \
- --with-esd-prefix=${LOCALBASE}
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
@@ -26,4 +19,7 @@ CONFIGURE_ARGS+=--with-xpm-prefix=${XPMDIR} \
CONFIGURE_ENV+= CC="${CC}"
.endif
+.include "../../audio/esound/buildlink.mk"
+.include "../../graphics/xpm/buildlink.mk"
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xarchon/distinfo b/games/xarchon/distinfo
index 575e873a0c5..ad2d241fe40 100644
--- a/games/xarchon/distinfo
+++ b/games/xarchon/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/21 02:08:36 wiz Exp $
+$NetBSD: distinfo,v 1.3 2001/08/15 20:40:01 zuntum Exp $
SHA1 (xarchon-0.50.tar.gz) = cee35cc80344cc54ff0be888c7f65c751cd45b45
Size (xarchon-0.50.tar.gz) = 371299 bytes
-SHA1 (patch-ab) = fa401154af294b65ca9eb4b11cc50bf6756acd9f
+SHA1 (patch-ab) = 2b78007af08762199a51e40a59284f0119751228
diff --git a/games/xarchon/patches/patch-ab b/games/xarchon/patches/patch-ab
index eb739aff520..98ea3b65470 100644
--- a/games/xarchon/patches/patch-ab
+++ b/games/xarchon/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.3 2001/03/19 14:38:50 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.4 2001/08/15 20:40:02 zuntum Exp $
--- src/Makefile.in.orig Wed Oct 13 05:28:34 1999
+++ src/Makefile.in Wed Oct 13 05:35:10 1999
@@ -9,8 +9,8 @@ $NetBSD: patch-ab,v 1.3 2001/03/19 14:38:50 dmcmahill Exp $
-CC = @CC@
-CXX = @CXX@
+# This mess should be done differently - HF
-+CC = cc -I${X11BASE}/include -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -I. -I.. -I${LOCALBASE}/include `glib-config --cflags --prefix=${LOCALBASE}` `gtk-config --cflags` `glib-config --libs --prefix=${LOCALBASE}` `gtk-config --libs`
-+CXX = c++ -I${X11BASE}/include -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -I. -I.. -I${LOCALBASE}/include `glib-config --cflags --prefix=${LOCALBASE}` `gtk-config --cflags` `glib-config --libs --prefix=${LOCALBASE}` `gtk-config --libs`
++CC = cc -I${X11BASE}/include -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -I. -I.. `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs`
++CXX = c++ -I${X11BASE}/include -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -I. -I.. `${GTK_CONFIG} --cflags` `${GTK_CONFIG} --libs`
ESD_CFLAGS = @ESD_CFLAGS@
ESD_CONFIG = @ESD_CONFIG@
ESD_LIBS = @ESD_LIBS@