diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /games/xscorch/Makefile | |
parent | c76cf46929051f9dd322487d888c82f104026e6d (diff) | |
download | ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.tar.gz ports-7b4c77811e89d7fc1131ca6e63df3e719bc86b1d.zip |
Notes
Diffstat (limited to 'games/xscorch/Makefile')
-rw-r--r-- | games/xscorch/Makefile | 30 |
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> |