summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/gnumeric/Makefile18
-rw-r--r--math/gnumeric2/Makefile18
-rw-r--r--math/rcalc/Makefile13
-rw-r--r--math/rcalc/pkg-plist2
-rw-r--r--math/scigraphica/Makefile13
5 files changed, 19 insertions, 45 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index eac1ed21e32a..551b74640fb2 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -14,30 +14,22 @@ MASTER_SITE_SUBDIR= stable/sources/gnumeric
MAINTAINER= ade@FreeBSD.org
-BUILD_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
- python:${PORTSDIR}/lang/python
-RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
- python:${PORTSDIR}/lang/python
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
glade.4:${PORTSDIR}/devel/libglade \
guile.9:${PORTSDIR}/lang/guile \
gnomeole2.0:${PORTSDIR}/devel/libole2 \
gb.0:${PORTSDIR}/lang/gnomebasic
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
+USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-guile --without-bonobo
+CONFIGURE_ARGS= --with-guile --without-bonobo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}
diff --git a/math/gnumeric2/Makefile b/math/gnumeric2/Makefile
index eac1ed21e32a..551b74640fb2 100644
--- a/math/gnumeric2/Makefile
+++ b/math/gnumeric2/Makefile
@@ -14,30 +14,22 @@ MASTER_SITE_SUBDIR= stable/sources/gnumeric
MAINTAINER= ade@FreeBSD.org
-BUILD_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
- python:${PORTSDIR}/lang/python
-RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
- python:${PORTSDIR}/lang/python
+BUILD_DEPENDS= python:${PORTSDIR}/lang/python
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
LIB_DEPENDS= gnomeprint.12:${PORTSDIR}/print/gnomeprint \
glade.4:${PORTSDIR}/devel/libglade \
guile.9:${PORTSDIR}/lang/guile \
gnomeole2.0:${PORTSDIR}/devel/libole2 \
gb.0:${PORTSDIR}/lang/gnomebasic
-GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
+USE_X_PREFIX= yes
USE_PERL5= yes
USE_GMAKE= yes
-USE_X_PREFIX= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-guile --without-bonobo
+CONFIGURE_ARGS= --with-guile --without-bonobo
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GLIB_CONFIG="${GLIB_CONFIG}" \
- GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
PLIST_SUB= VERSION=${PORTVERSION}
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>
diff --git a/math/rcalc/pkg-plist b/math/rcalc/pkg-plist
index ace0f118ded6..4087f6c4490d 100644
--- a/math/rcalc/pkg-plist
+++ b/math/rcalc/pkg-plist
@@ -7,5 +7,3 @@ share/gnome/help/rCalc/C/calculate.png
share/gnome/help/rCalc/C/topic.dat
@dirrm share/gnome/help/rCalc/C
@dirrm share/gnome/help/rCalc
-@unexec rmdir %D/share/gnome/apps/Utilities 2>/dev/null || true
-@unexec rmdir %D/share/gnome/help 2>/dev/null || true
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 0fda383d5c4e..917f6d82afc5 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -15,23 +15,16 @@ MAINTAINER= sobomax@FreeBSD.org
BUILD_DEPENDS= python:${PORTSDIR}/lang/python15 \
${LOCALBASE}/include/python1.5/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
-LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
- gtkextra.10:${PORTSDIR}/x11-toolkits/gtkextra \
+LIB_DEPENDS= gtkextra.10:${PORTSDIR}/x11-toolkits/gtkextra \
xml.5:${PORTSDIR}/textproc/libxml
-RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
- python:${PORTSDIR}/lang/python15 \
+RUN_DEPENDS= python:${PORTSDIR}/lang/python15 \
${LOCALBASE}/include/python1.5/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
-GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
-
USE_X_PREFIX= yes
USE_GMAKE= yes
+USE_GNOME= yes
USE_LIBTOOL= yes
-
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- GTK_CONFIG="${GTK_CONFIG}" \
LDFLAGS="-L${LOCALBASE}/lib"
pre-patch: