summaryrefslogtreecommitdiff
path: root/math/rcalc/Makefile
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
committerJeremy Lea <reg@FreeBSD.org>2000-10-05 07:17:31 +0000
commitc76cf46929051f9dd322487d888c82f104026e6d (patch)
treef415aeddadc6782b1474ebd88710bfa86cf08711 /math/rcalc/Makefile
parentImplement USE_GNOME, part 1. (diff)
Implement USE_GNOME, part 2.
Notes
Notes: svn path=/head/; revision=33429
Diffstat (limited to 'math/rcalc/Makefile')
-rw-r--r--math/rcalc/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/math/rcalc/Makefile b/math/rcalc/Makefile
index e4b7fd4bdea2..a10d44da8d98 100644
--- a/math/rcalc/Makefile
+++ b/math/rcalc/Makefile
@@ -14,16 +14,15 @@ DISTNAME= rCalc-${PORTVERSION}
MAINTAINER= jedgar@FreeBSD.org
-LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore
-
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-x
-CONFIGURE_ENV+= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \
- GTK_CONFIG="${GTK_CONFIG}" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
+pre-patch:
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g'
+
.include <bsd.port.mk>