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 /sysutils | |
parent | 30fb8569371544b140cbfbe9d8d545a551b7a815 (diff) | |
download | freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.gz freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.tar.zst freebsd-ports-graphics-68dad4980b984b6c03859651af5eefb37c1c9d90.zip |
Implement USE_GNOME, part 2.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/battstat-applet/Makefile | 20 | ||||
-rw-r--r-- | sysutils/battstat-applet/files/patch-aa | 22 | ||||
-rw-r--r-- | sysutils/battstat-applet/pkg-plist | 6 | ||||
-rw-r--r-- | sysutils/gnome-control-center/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gnome-control-center1/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gnomecontrolcenter/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gnomecontrolcenter2/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gnomefind/Makefile | 17 | ||||
-rw-r--r-- | sysutils/gnomesystemmonitor/Makefile | 9 | ||||
-rw-r--r-- | sysutils/gtop/Makefile | 9 | ||||
-rw-r--r-- | sysutils/medusa/Makefile | 13 |
12 files changed, 60 insertions, 81 deletions
diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile index bf4352ca8fb..bbb3eb9d099 100644 --- a/sysutils/battstat-applet/Makefile +++ b/sysutils/battstat-applet/Makefile @@ -13,14 +13,20 @@ DISTNAME= battstat_applet-${PORTVERSION} MAINTAINER= jim@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - WRKSRC= ${WRKDIR}/${DISTNAME} -USE_LIBTOOL= yes -USE_GMAKE= yes + USE_X_PREFIX= yes -CONFIGURE_ENV= GTK_CONFIG="${GTK_CONFIG}" +USE_GMAKE= yes +USE_GNOME= yes +USE_LIBTOOL= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +pre-patch: + @${PERL} -pi -e 's|-lpthread|-pthread|g ; \ + s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure + @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ + 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ + s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include <bsd.port.mk> diff --git a/sysutils/battstat-applet/files/patch-aa b/sysutils/battstat-applet/files/patch-aa new file mode 100644 index 00000000000..a1f2957f2b4 --- /dev/null +++ b/sysutils/battstat-applet/files/patch-aa @@ -0,0 +1,22 @@ +--- docs/C/Makefile.in.orig Mon Oct 2 00:34:46 2000 ++++ docs/C/Makefile.in Mon Oct 2 00:37:29 2000 +@@ -310,7 +310,6 @@ + $(distdir)/$(applet)-applet/stylesheet-images + + install-data-am: index.html +- -$(mkinstalldirs) $(DESTDIR)$(docdir)/stylesheet-images + -cp $(srcdir)/topic.dat $(DESTDIR)$(helpdir) + -for file in \ + $(applet)-applet/*.html \ +@@ -318,11 +317,6 @@ + $(srcdir)/*.png; do\ + basefile=`echo $$file | sed -e 's,^.*/,,'`; \ + $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$$basefile; \ +- done +- -for file in \ +- $(applet)-applet/stylesheet-images/*.png; do \ +- basefile=`echo $$file | sed -e 's,^.*/,,'`; \ +- $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/stylesheet-images/$$basefile; \ + done + + $(applet)-applet.ps: $(srcdir)/$(applet)-applet.sgml $(srcdir)/$(applet).sgml diff --git a/sysutils/battstat-applet/pkg-plist b/sysutils/battstat-applet/pkg-plist index 7265629cd9e..5c6874f7687 100644 --- a/sysutils/battstat-applet/pkg-plist +++ b/sysutils/battstat-applet/pkg-plist @@ -2,7 +2,6 @@ bin/battstat_applet etc/CORBA/servers/battstat_applet.gnorba etc/sound/events/battstat_applet.soundlist share/gnome/applets/Monitors/battstat_applet.desktop -share/gnome/pixmaps/battstat.png share/gnome/help/battstat_applet/C/appear-hidden.gif share/gnome/help/battstat_applet/C/appear.gif share/gnome/help/battstat_applet/C/bottom.gif @@ -16,4 +15,7 @@ share/gnome/help/battstat_applet/C/square-hidden.gif share/gnome/help/battstat_applet/C/square.gif share/gnome/help/battstat_applet/C/top.gif share/gnome/help/battstat_applet/C/topic.dat -@dirrm share/gnome/help/battstat_applet/C/stylesheet-images +share/gnome/pixmaps/battstat.png +share/locale/sv/LC_MESSAGES/battstat_applet.mo +@dirrm share/gnome/help/battstat_applet/C +@dirrm share/gnome/help/battstat_applet diff --git a/sysutils/gnome-control-center/Makefile b/sysutils/gnome-control-center/Makefile index 9a123170a11..ba6ab1c4d6b 100644 --- a/sysutils/gnome-control-center/Makefile +++ b/sysutils/gnome-control-center/Makefile @@ -14,19 +14,14 @@ DISTNAME= control-center-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOMELIBS= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gnome-control-center1/Makefile b/sysutils/gnome-control-center1/Makefile index 9a123170a11..ba6ab1c4d6b 100644 --- a/sysutils/gnome-control-center1/Makefile +++ b/sysutils/gnome-control-center1/Makefile @@ -14,19 +14,14 @@ DISTNAME= control-center-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOMELIBS= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index f64df8d8e9b..021a08da15c 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -13,17 +13,12 @@ MASTER_SITE_SUBDIR= stable/sources/gtop MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \ - gtop.1:${PORTSDIR}/devel/libgtop - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop USE_X_PREFIX= 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}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gnomecontrolcenter/Makefile b/sysutils/gnomecontrolcenter/Makefile index 9a123170a11..ba6ab1c4d6b 100644 --- a/sysutils/gnomecontrolcenter/Makefile +++ b/sysutils/gnomecontrolcenter/Makefile @@ -14,19 +14,14 @@ DISTNAME= control-center-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOMELIBS= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gnomecontrolcenter2/Makefile b/sysutils/gnomecontrolcenter2/Makefile index 9a123170a11..ba6ab1c4d6b 100644 --- a/sysutils/gnomecontrolcenter2/Makefile +++ b/sysutils/gnomecontrolcenter2/Makefile @@ -14,19 +14,14 @@ DISTNAME= control-center-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf USE_X_PREFIX= yes USE_GMAKE= yes +USE_GNOMELIBS= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile index 34ea4b7d715..d32a4e2ef75 100644 --- a/sysutils/gnomefind/Makefile +++ b/sysutils/gnomefind/Makefile @@ -14,23 +14,14 @@ DISTNAME= gnome-find-${PORTVERSION} MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - glade.4:${PORTSDIR}/devel/libglade -RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore - -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - -CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ - CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-lgnuregex -L${LOCALBASE}/lib" -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome +LIB_DEPENDS= glade.4:${PORTSDIR}/devel/libglade USE_X_PREFIX= yes USE_XPM= yes +USE_GNOME= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-lgnuregex -L${LOCALBASE}/lib" MAN1= gnome-find.1 diff --git a/sysutils/gnomesystemmonitor/Makefile b/sysutils/gnomesystemmonitor/Makefile index f64df8d8e9b..021a08da15c 100644 --- a/sysutils/gnomesystemmonitor/Makefile +++ b/sysutils/gnomesystemmonitor/Makefile @@ -13,17 +13,12 @@ MASTER_SITE_SUBDIR= stable/sources/gtop MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \ - gtop.1:${PORTSDIR}/devel/libgtop - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop USE_X_PREFIX= 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}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/gtop/Makefile b/sysutils/gtop/Makefile index f64df8d8e9b..021a08da15c 100644 --- a/sysutils/gtop/Makefile +++ b/sysutils/gtop/Makefile @@ -13,17 +13,12 @@ MASTER_SITE_SUBDIR= stable/sources/gtop MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= panel_applet.4:${PORTSDIR}/x11/gnomecore \ - gtop.1:${PORTSDIR}/devel/libgtop - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop USE_X_PREFIX= 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}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: diff --git a/sysutils/medusa/Makefile b/sysutils/medusa/Makefile index 0e434ecf00a..30610b2172c 100644 --- a/sysutils/medusa/Makefile +++ b/sysutils/medusa/Makefile @@ -13,23 +13,16 @@ MASTER_SITE_SUBDIR= unstable/sources/medusa MAINTAINER= ade@FreeBSD.org -LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \ - oaf.0:${PORTSDIR}/devel/oaf \ +LIB_DEPENDS= oaf.0:${PORTSDIR}/devel/oaf \ gnomevfs.0:${PORTSDIR}/devel/gnomevfs \ gconf-1.1:${PORTSDIR}/devel/gconf -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_GMAKE= yes USE_X_PREFIX= yes +USE_GNOME= yes USE_LIBTOOL= yes -CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \ - --datadir=${PREFIX}/share/gnome \ - --enable-shared --enable-static +CONFIGURE_ARGS= --enable-shared --enable-static CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" pre-patch: |