aboutsummaryrefslogtreecommitdiff
path: root/games/xscorch/Makefile
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:22:56 +0000
commit7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch)
tree9695733a1620c4c290c86f161a4f1b73160ed39a /games/xscorch/Makefile
parentc76cf46929051f9dd322487d888c82f104026e6d (diff)
downloadports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.tar.gz
ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.zip
Notes
Diffstat (limited to 'games/xscorch/Makefile')
-rw-r--r--games/xscorch/Makefile30
1 files changed, 14 insertions, 16 deletions
diff --git a/games/xscorch/Makefile b/games/xscorch/Makefile
index f4892a6318b2..b7b3b1aa65e0 100644
--- a/games/xscorch/Makefile
+++ b/games/xscorch/Makefile
@@ -12,25 +12,23 @@ MASTER_SITES= http://chaos2.org/xscorch/
MAINTAINER= will@FreeBSD.org
-LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \
- mikmod.2:${PORTSDIR}/audio/libmikmod
-.if defined(WITH_GNOME)
-LIB_DEPENDS+= gnome.4:${PORTSDIR}/x11/gnomelibs
-.endif
+LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
USE_X_PREFIX= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-gtk
-.if defined(WITH_GNOME)
-CONFIGURE_ARGS+=--with-gnome
-.else
-CONFIGURE_ARGS+=--without-gnome
-.endif
-CONFIGURE_ENV+= GTK_CONFIG="${GTK_CONFIG}"
USE_GMAKE= yes
-CFLAGS+= -g
+USE_GTK= yes
+WANT_GNOME= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-gtk
MAN6= xscorch.6
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+.else
+CONFIGURE_ARGS+= --without-gnome
+.endif
+
+.include <bsd.port.post.mk>