diff options
author | obraun <obraun@FreeBSD.org> | 2002-10-06 02:57:21 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2002-10-06 02:57:21 +0800 |
commit | 55ee44bbdbb8e38ba629b1cb5e1b2453384bd6d4 (patch) | |
tree | 5d92e5078f4922f096442862779564ff73a3bdcc /x11-toolkits | |
parent | e9a13071a634356b82870c10fcd9fefd3eea0688 (diff) | |
download | freebsd-ports-gnome-55ee44bbdbb8e38ba629b1cb5e1b2453384bd6d4.tar.gz freebsd-ports-gnome-55ee44bbdbb8e38ba629b1cb5e1b2453384bd6d4.tar.zst freebsd-ports-gnome-55ee44bbdbb8e38ba629b1cb5e1b2453384bd6d4.zip |
* Upgrade to 0.14.10.
* Add knob WITH_IHASKELL.
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/hs-gtk+hs/Makefile | 18 | ||||
-rw-r--r-- | x11-toolkits/hs-gtk+hs/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/hs-gtk+hs/files/patch-Makefile | 11 | ||||
-rw-r--r-- | x11-toolkits/hs-gtk+hs/files/patch-configure | 11 | ||||
-rw-r--r-- | x11-toolkits/hs-gtk+hs/pkg-plist | 45 |
5 files changed, 58 insertions, 29 deletions
diff --git a/x11-toolkits/hs-gtk+hs/Makefile b/x11-toolkits/hs-gtk+hs/Makefile index 23b37c7b2ddb..63dbd5b12134 100644 --- a/x11-toolkits/hs-gtk+hs/Makefile +++ b/x11-toolkits/hs-gtk+hs/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gtk+hs -PORTVERSION= 0.11.5 -PORTREVISION= 1 +PORTVERSION= 0.14.10 CATEGORIES= x11-toolkits MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/gtk/ PKGNAMEPREFIX= hs- @@ -18,6 +17,9 @@ BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ c2hs:${PORTSDIR}/devel/hs-c2hs RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \ c2hs:${PORTSDIR}/devel/hs-c2hs +.if defined(WITH_IHASKELL) +RUN_DEPENDS+= ports-config:${PORTSDIR}/devel/hs-hpl +.endif USE_GNOMENG= yes USE_GNOME= glib12 gtk12 @@ -26,12 +28,20 @@ USE_REINPLACE= yes HAS_CONFIGURE= yes USE_GMAKE= yes -CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --prefix=${PREFIX} --enable-add-package +.if defined(WITH_IHASKELL) +CONFIGURE_ARGS+= --with-ih +.endif PLIST_SUB+= PORTVERSION="${PORTVERSION}" +pre-everything:: +.if !defined(WITH_IHASKELL) + @${ECHO_CMD} "To build gtk+hs with iHaskell define WITH_IHASKELL." +.endif + post-patch: - ${REINPLACE_CMD} -e 's/gtk-config/gtk12-config/g ; \ + @${REINPLACE_CMD} -e 's/gtk-config/gtk12-config/g ; \ s/glib-config/glib12-config/g' ${WRKSRC}/configure .include <bsd.port.mk> diff --git a/x11-toolkits/hs-gtk+hs/distinfo b/x11-toolkits/hs-gtk+hs/distinfo index 90f7566d8316..92122b00ce54 100644 --- a/x11-toolkits/hs-gtk+hs/distinfo +++ b/x11-toolkits/hs-gtk+hs/distinfo @@ -1 +1 @@ -MD5 (gtk+hs-0.11.5.tar.gz) = 5594eef25b1f5ea64bd0ee59135d251b +MD5 (gtk+hs-0.14.10.tar.gz) = 9e17c1f39b235586d2713efb91e017e7 diff --git a/x11-toolkits/hs-gtk+hs/files/patch-Makefile b/x11-toolkits/hs-gtk+hs/files/patch-Makefile new file mode 100644 index 000000000000..993873f806b2 --- /dev/null +++ b/x11-toolkits/hs-gtk+hs/files/patch-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Sun Sep 22 23:12:57 2002 ++++ Makefile Sun Sep 22 23:14:03 2002 +@@ -184,7 +184,7 @@ + endif + ifeq ($(ENABLE_ADD_PACKAGE),yes) + $(DESTDIR)$(bindir)/gtkhs-config --package-conf\ +- | $(GHCPKG) --add-package ++ | $(GHCPKG) --update-package --auto-ghci-libs + endif + + # admin targets diff --git a/x11-toolkits/hs-gtk+hs/files/patch-configure b/x11-toolkits/hs-gtk+hs/files/patch-configure deleted file mode 100644 index 091073dfb447..000000000000 --- a/x11-toolkits/hs-gtk+hs/files/patch-configure +++ /dev/null @@ -1,11 +0,0 @@ ---- configure.orig Sun Sep 15 21:05:20 2002 -+++ configure Sun Sep 15 21:06:38 2002 -@@ -1265,7 +1265,7 @@ - else - ${GHC-ghc} --version > conftestghc 2>&1 - cat conftestghc >&5 -- gtkhs_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.]\+\).*/\1/p'` -+ gtkhs_cv_ghc_version=`cat conftestghc | sed -n -e 's/, patchlevel *\([0-9]\)/.\1/;s/.* version \([0-9.][0-9.]*\).*/\1/p'` - rm -fr conftest* - if test "$gtkhs_cv_ghc_version" = "" - then diff --git a/x11-toolkits/hs-gtk+hs/pkg-plist b/x11-toolkits/hs-gtk+hs/pkg-plist index 572cac3ae1e3..787ba5a68c28 100644 --- a/x11-toolkits/hs-gtk+hs/pkg-plist +++ b/x11-toolkits/hs-gtk+hs/pkg-plist @@ -1,11 +1,17 @@ bin/gtkhs-config +lib/gtk+hs-%%PORTVERSION%%/ghc5/gtkhs.conf +lib/gtk+hs-%%PORTVERSION%%/ghc5/gdkHS.o +lib/gtk+hs-%%PORTVERSION%%/ghc5/glibHS.o +lib/gtk+hs-%%PORTVERSION%%/ghc5/gtkHS.o +lib/gtk+hs-%%PORTVERSION%%/ghc5/libgdkHS.a +lib/gtk+hs-%%PORTVERSION%%/ghc5/libglibHS.a +lib/gtk+hs-%%PORTVERSION%%/ghc5/libgtkHS.a lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/Gdk.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkColor.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkDrawable.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkEvents.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkFont.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkGC.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkMarsh.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkPixmap.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkTypes.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk/GdkVisual.hi @@ -19,26 +25,31 @@ lib/gtk+hs-%%PORTVERSION%%/ghc5/import/glib/GThread.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/glib/GTimer.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/glib/GTypes.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/Gtk.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkAccelGroup.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkAdjustment.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkAdjustmentSignal.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkAlignment.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkBin.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkBox.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkButton.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkButtonSignal.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCList.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCListSignal.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCTree.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCheckButton.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCheckMenuItem.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCheckMenuItemSignal.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCombo.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkCompat.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkContainer.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkData.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkDrawingArea.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkEditable.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkEditableSignal.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkEntry.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkEnums.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkEventBox.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkFileSel.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkFrame.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkHandleBox.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkHBox.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkHPaned.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkHScale.hi @@ -58,22 +69,29 @@ lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkMenuBar.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkMenuItem.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkMenuItemSignal.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkMisc.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkNotebook.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkObject.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkObjectSignal.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkOptionMenu.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkPaned.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkPixmap.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkProgress.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkProgressBar.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkRadioButton.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkRadioMenuItem.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkRange.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkRuler.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkScale.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkScrollbar.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkScrolledWindow.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkSeparator.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkSignal.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkStatusBar.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkStatusbar.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkStyle.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkTable.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkText.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkToggleButton.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkToggleButtonSignal.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkTooltips.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkTree.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkTreeItem.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkTreeItemSignal.hi @@ -84,23 +102,24 @@ lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkVScale.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkVScrollbar.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkVSeparator.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkVersion.hi +lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkViewport.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkWidget.hi -lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkWidgetSignal.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gtk/GtkWindow.hi lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkAdjustmentSignal_stub.h -lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkButtonSignal_stub.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkButton_stub.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkCheckMenuItemSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkCListSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkCList_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkCTree_stub.h -lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkEditableSignal_stub.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkEditable_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkItemSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkListSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkMenuItemSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkObjectSignal_stub.h -lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkToggleButtonSignal_stub.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkToggleButton_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkTreeItemSignal_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkTypeUtils_stub.h -lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkWidgetSignal_stub.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/GtkWidget_stub.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gMarsh.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkAdjustment.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkCTree.h @@ -109,11 +128,9 @@ lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkHaskell.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkObject.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkStyle.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkToggleButton.h +lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkTooltips.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/gtkWidget.h lib/gtk+hs-%%PORTVERSION%%/ghc5/include/haskell.h -lib/gtk+hs-%%PORTVERSION%%/ghc5/libgdkHS.a -lib/gtk+hs-%%PORTVERSION%%/ghc5/libglibHS.a -lib/gtk+hs-%%PORTVERSION%%/ghc5/libgtkHS.a @dirrm lib/gtk+hs-%%PORTVERSION%%/ghc5/include @dirrm lib/gtk+hs-%%PORTVERSION%%/ghc5/import/gdk @dirrm lib/gtk+hs-%%PORTVERSION%%/ghc5/import/glib @@ -121,3 +138,5 @@ lib/gtk+hs-%%PORTVERSION%%/ghc5/libgtkHS.a @dirrm lib/gtk+hs-%%PORTVERSION%%/ghc5/import @dirrm lib/gtk+hs-%%PORTVERSION%%/ghc5 @dirrm lib/gtk+hs-%%PORTVERSION%% +@exec %D/bin/gtkhs-config --package-conf | %D/bin/ghc-pkg -u -g +@unexec %D/bin/ghc-pkg -r gtkhs |