diff options
author | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-05 15:17:31 +0800 |
commit | 68dad4980b984b6c03859651af5eefb37c1c9d90 (patch) | |
tree | a1b402b639681e7623529a2295404459e0d45edf /math | |
parent | 30fb8569371544b140cbfbe9d8d545a551b7a815 (diff) | |
download | freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst freebsd-ports-gnome-68dad4980b984b6c03859651af5eefb37c1c9d90.zip |
Implement USE_GNOME, part 2.
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric/Makefile | 18 | ||||
-rw-r--r-- | math/gnumeric2/Makefile | 18 | ||||
-rw-r--r-- | math/rcalc/Makefile | 13 | ||||
-rw-r--r-- | math/rcalc/pkg-plist | 2 | ||||
-rw-r--r-- | math/scigraphica/Makefile | 13 |
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: |