summaryrefslogtreecommitdiff
path: root/games/xscorch
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
parentImplement USE_GNOME, part 2. (diff)
Implement WANT_GNOME.
Notes
Notes: svn path=/head/; revision=33430
Diffstat (limited to 'games/xscorch')
-rw-r--r--games/xscorch/Makefile30
-rw-r--r--games/xscorch/pkg-plist20
2 files changed, 24 insertions, 26 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>
diff --git a/games/xscorch/pkg-plist b/games/xscorch/pkg-plist
index 5c351a8fb7c4..d24ac05d5da3 100644
--- a/games/xscorch/pkg-plist
+++ b/games/xscorch/pkg-plist
@@ -1,11 +1,11 @@
bin/xscorch
-share/xscorch/sounds/stamp
-share/xscorch/images/xscorch-icon.xpm
-share/xscorch/images/xscorch-logo.xpm
-share/xscorch/copying.txt
-share/xscorch/xscorch.txt
-share/xscorch/tankprofiles
-share/xscorch/tankprofiles~
-@dirrm share/xscorch/sounds
-@dirrm share/xscorch/images
-@dirrm share/xscorch
+%%DATADIR%%/xscorch/sounds/stamp
+%%DATADIR%%/xscorch/images/xscorch-icon.xpm
+%%DATADIR%%/xscorch/images/xscorch-logo.xpm
+%%DATADIR%%/xscorch/copying.txt
+%%DATADIR%%/xscorch/xscorch.txt
+%%DATADIR%%/xscorch/tankprofiles
+%%DATADIR%%/xscorch/tankprofiles~
+@dirrm %%DATADIR%%/xscorch/sounds
+@dirrm %%DATADIR%%/xscorch/images
+@dirrm %%DATADIR%%/xscorch