diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 07:22:56 +0000 |
commit | 7b4c77811e89d7fc1131ca6e63df3e719bc86b1d (patch) | |
tree | 9695733a1620c4c290c86f161a4f1b73160ed39a /x11-toolkits | |
parent | Implement USE_GNOME, part 2. (diff) |
Implement WANT_GNOME.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/rep-gtk/Makefile | 35 | ||||
-rw-r--r-- | x11-toolkits/rep-gtk2/Makefile | 35 | ||||
-rw-r--r-- | x11-toolkits/vdk/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/vdk/files/patch-aa | 11 | ||||
-rw-r--r-- | x11-toolkits/vdk/pkg-plist | 3 | ||||
-rw-r--r-- | x11-toolkits/vdkbuilder/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/vdkbuilder/pkg-plist | 97 |
7 files changed, 109 insertions, 108 deletions
diff --git a/x11-toolkits/rep-gtk/Makefile b/x11-toolkits/rep-gtk/Makefile index 4d4768ca4906..8cabca1d70a2 100644 --- a/x11-toolkits/rep-gtk/Makefile +++ b/x11-toolkits/rep-gtk/Makefile @@ -14,34 +14,27 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - rep.10:${PORTSDIR}/lang/librep -.if !defined(WITHOUT_GNOME) -LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade \ - gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf -.endif - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +LIB_DEPENDS= rep.10:${PORTSDIR}/lang/librep PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} USE_X_PREFIX= yes USE_GMAKE= yes +USE_GTK= yes +WANT_GNOME= yes GNU_CONFIGURE= yes -.if defined(WITHOUT_GNOME) -CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \ - --without-gnome-canvas-pixbuf -PLIST_SUB+= GNOME:="@comment " -.else +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \ --with-gnome-canvas-pixbuf -PLIST_SUB+= GNOME:="" +.else +CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \ + --without-gnome-canvas-pixbuf .endif -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - LIBS="-L${LOCALBASE}/lib" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/rep-gtk2/Makefile b/x11-toolkits/rep-gtk2/Makefile index 4d4768ca4906..8cabca1d70a2 100644 --- a/x11-toolkits/rep-gtk2/Makefile +++ b/x11-toolkits/rep-gtk2/Makefile @@ -14,34 +14,27 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= sobomax@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ - rep.10:${PORTSDIR}/lang/librep -.if !defined(WITHOUT_GNOME) -LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade \ - gnome.4:${PORTSDIR}/x11/gnomelibs \ - gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf -.endif - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config -GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config +LIB_DEPENDS= rep.10:${PORTSDIR}/lang/librep PLIST_SUB= GNUHOST=${ARCH}--freebsd${OSREL} USE_X_PREFIX= yes USE_GMAKE= yes +USE_GTK= yes +WANT_GNOME= yes GNU_CONFIGURE= yes -.if defined(WITHOUT_GNOME) -CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \ - --without-gnome-canvas-pixbuf -PLIST_SUB+= GNOME:="@comment " -.else +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib" + +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +LIB_DEPENDS+= glade.4:${PORTSDIR}/devel/libglade CONFIGURE_ARGS= --with-gnome --with-libglade --with-gdk-pixbuf \ --with-gnome-canvas-pixbuf -PLIST_SUB+= GNOME:="" +.else +CONFIGURE_ARGS= --without-libglade --without-gnome --without-gdk-pixbuf \ + --without-gnome-canvas-pixbuf .endif -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ - GLIB_CONFIG="${GLIB_CONFIG}" \ - LIBS="-L${LOCALBASE}/lib" -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/x11-toolkits/vdk/Makefile b/x11-toolkits/vdk/Makefile index ef2487324a6e..7a61bba5a5d6 100644 --- a/x11-toolkits/vdk/Makefile +++ b/x11-toolkits/vdk/Makefile @@ -12,18 +12,22 @@ MASTER_SITES= http://download.sourceforge.net/vdkbuilder/ MAINTAINER= nakai@FreeBSD.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 - -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_NEWGCC= yes USE_X_PREFIX= yes +USE_GTK= yes +WANT_GNOME= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib" MAN1= vdk-config.1 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes +CONFIGURE_ARGS+= --enable-gnome +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/vdk/files/patch-aa b/x11-toolkits/vdk/files/patch-aa new file mode 100644 index 000000000000..5e288ffe0cbf --- /dev/null +++ b/x11-toolkits/vdk/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.in.orig Sun Feb 27 20:55:41 2000 ++++ Makefile.in Sun Feb 27 20:55:56 2000 +@@ -129,7 +129,7 @@ + EXTRA_DIST = autogen.sh configure aclocal.m4 BUGS + + +-m4datadir = $(datadir)/aclocal ++m4datadir = $(prefix)/share/aclocal + m4data_DATA = vdk.m4 + ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/x11-toolkits/vdk/pkg-plist b/x11-toolkits/vdk/pkg-plist index 8ea69586fe80..60b8a0e218cc 100644 --- a/x11-toolkits/vdk/pkg-plist +++ b/x11-toolkits/vdk/pkg-plist @@ -104,15 +104,12 @@ include/vdk/vdktypes.h include/vdk/vdkutils.h include/vdk/widcontain.h lib/libvdk.a -lib/libvdk.la lib/libvdk.so lib/libvdk.so.3 lib/libvdkcompo.a -lib/libvdkcompo.la lib/libvdkcompo.so lib/libvdkcompo.so.3 lib/libvdkgnome.a -lib/libvdkgnome.la lib/libvdkgnome.so lib/libvdkgnome.so.3 share/aclocal/vdk.m4 diff --git a/x11-toolkits/vdkbuilder/Makefile b/x11-toolkits/vdkbuilder/Makefile index 722e3123c988..98f6115b35e8 100644 --- a/x11-toolkits/vdkbuilder/Makefile +++ b/x11-toolkits/vdkbuilder/Makefile @@ -14,15 +14,23 @@ MAINTAINER= nakai@FreeBSD.org LIB_DEPENDS= vdk.3:${PORTSDIR}/x11-toolkits/vdk -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config - USE_NEWGCC= yes USE_GMAKE= yes USE_X_PREFIX= yes +USE_GTK= yes +WANT_GNOME= yes +USE_LIBTOOL= yes INSTALLS_SHLIB= yes -GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - GTK_CONFIG="${GTK_CONFIG}" \ LIBS="-L${LOCALBASE}/lib -lgnuregex" -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(HAVE_GNOME) +USE_GNOME= yes +CONFIGURE_ARGS+=--enable-gnome +.else +CONFIGURE_ARGS+=--enable-gnome=no +.endif + +.include <bsd.port.post.mk> diff --git a/x11-toolkits/vdkbuilder/pkg-plist b/x11-toolkits/vdkbuilder/pkg-plist index 858b07971d1a..8ca1c1e0f70c 100644 --- a/x11-toolkits/vdkbuilder/pkg-plist +++ b/x11-toolkits/vdkbuilder/pkg-plist @@ -112,72 +112,67 @@ include/vdkb/vdksynted.h include/vdkb/vdkxpmbrowser.h include/vdkb/waitcursor.h lib/libvdkbcalendar.a -lib/libvdkbcalendar.la lib/libvdkbcalendar.so lib/libvdkbcalendar.so.0 lib/libvdkbdatabox.a -lib/libvdkbdatabox.la lib/libvdkbdatabox.so lib/libvdkbdatabox.so.1 lib/libvdkbdclock.a -lib/libvdkbdclock.la lib/libvdkbdclock.so lib/libvdkbdclock.so.0 lib/libvdkcalendar.a -lib/libvdkcalendar.la lib/libvdkcalendar.so lib/libvdkcalendar.so.1 lib/libvdkdclock.a -lib/libvdkdclock.la lib/libvdkdclock.so lib/libvdkdclock.so.1 +share/gnome/pixmaps/vdkb.png +%%DATADIR%%/vdkb/res/AUTHORS +%%DATADIR%%/vdkb/res/COPYING +%%DATADIR%%/vdkb/res/ChangeLog +%%DATADIR%%/vdkb/res/INSTALL +%%DATADIR%%/vdkb/res/NEWS +%%DATADIR%%/vdkb/res/README +%%DATADIR%%/vdkb/res/autogen.sh +%%DATADIR%%/vdkb/res/cpphints +%%DATADIR%%/vdkb/res/desk.gif +%%DATADIR%%/vdkb/res/filedlg.gif +%%DATADIR%%/vdkb/res/fixed.gif +%%DATADIR%%/vdkb/res/index.htm +%%DATADIR%%/vdkb/res/logo.gif +%%DATADIR%%/vdkb/res/logo.xpm +%%DATADIR%%/vdkb/res/newprj.gif +%%DATADIR%%/vdkb/res/plugins.db +%%DATADIR%%/vdkb/res/prjman.gif +%%DATADIR%%/vdkb/res/prjwiz.gif +%%DATADIR%%/vdkb/res/refindex.htm +%%DATADIR%%/vdkb/res/run.gif +%%DATADIR%%/vdkb/res/saveprj.gif +%%DATADIR%%/vdkb/res/step1.0.gif +%%DATADIR%%/vdkb/res/step2.gif +%%DATADIR%%/vdkb/res/step3.gif +%%DATADIR%%/vdkb/res/tokens.db +%%DATADIR%%/vdkb/res/tutor1.htm +%%DATADIR%%/vdkb/res/tutor2.htm +%%DATADIR%%/vdkb/res/tutor3.htm +%%DATADIR%%/vdkb/res/tutor4.htm +%%DATADIR%%/vdkb/res/vdkapp.htm +%%DATADIR%%/vdkb/res/vdkb.png +%%DATADIR%%/vdkb/res/vdkbide.defaults +%%DATADIR%%/vdkb/res/vdkbmaker.gif +%%DATADIR%%/vdkb/res/vdkbrc +%%DATADIR%%/vdkb/res/vdkcanvas.htm +%%DATADIR%%/vdkb/res/vdkchkbut.htm +%%DATADIR%%/vdkb/res/vdkform.htm +%%DATADIR%%/vdkb/res/vdklogo.gif +%%DATADIR%%/vdkb/res/vdkobjcont.htm +%%DATADIR%%/vdkb/res/vdkobject.htm +%%DATADIR%%/vdkb/res/vdkpaned.htm +%%DATADIR%%/vdkb/res/vdkscrolled.htm +%%DATADIR%%/vdkb/res/wi1.gif share/locale/da/LC_MESSAGES/vdkbuilder.mo share/locale/de/LC_MESSAGES/vdkbuilder.mo share/locale/it/LC_MESSAGES/vdkbuilder.mo -share/pixmaps/vdkb.png -share/vdkb/res/AUTHORS -share/vdkb/res/COPYING -share/vdkb/res/ChangeLog -share/vdkb/res/INSTALL -share/vdkb/res/NEWS -share/vdkb/res/README -share/vdkb/res/autogen.sh -share/vdkb/res/cpphints -share/vdkb/res/desk.gif -share/vdkb/res/filedlg.gif -share/vdkb/res/fixed.gif -share/vdkb/res/index.htm -share/vdkb/res/logo.gif -share/vdkb/res/logo.xpm -share/vdkb/res/newprj.gif -share/vdkb/res/plugins.db -share/vdkb/res/prjman.gif -share/vdkb/res/prjwiz.gif -share/vdkb/res/refindex.htm -share/vdkb/res/run.gif -share/vdkb/res/saveprj.gif -share/vdkb/res/step1.0.gif -share/vdkb/res/step2.gif -share/vdkb/res/step3.gif -share/vdkb/res/tokens.db -share/vdkb/res/tutor1.htm -share/vdkb/res/tutor2.htm -share/vdkb/res/tutor3.htm -share/vdkb/res/tutor4.htm -share/vdkb/res/vdkapp.htm -share/vdkb/res/vdkb.png -share/vdkb/res/vdkbide.defaults -share/vdkb/res/vdkbmaker.gif -share/vdkb/res/vdkbrc -share/vdkb/res/vdkcanvas.htm -share/vdkb/res/vdkchkbut.htm -share/vdkb/res/vdkform.htm -share/vdkb/res/vdklogo.gif -share/vdkb/res/vdkobjcont.htm -share/vdkb/res/vdkobject.htm -share/vdkb/res/vdkpaned.htm -share/vdkb/res/vdkscrolled.htm -share/vdkb/res/wi1.gif +@dirrm %%DATADIR%%/vdkb/res +@dirrm %%DATADIR%%/vdkb @dirrm include/vdkb -@dirrm share/vdkb/res -@dirrm share/vdkb |