aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtoolkit
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-06-06 06:12:16 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-06-06 06:12:16 +0000
commit1b81e7d6e8cb2e98eed0ad902ff521959c29800b (patch)
tree916461bd72946d98dee7345697741c077bc6974c /x11-toolkits/gtoolkit
parent43f0527755607ca443c668736d8a81936e473d41 (diff)
downloadports-1b81e7d6e8cb2e98eed0ad902ff521959c29800b.tar.gz
ports-1b81e7d6e8cb2e98eed0ad902ff521959c29800b.zip
New Port: GToolKit
GToolKit is a (relatively) small library that implements a simple and easy to use Objective-C interface to the GTK+ widget set. Well, the library in itself does not do very much, of course. It just allows you to write your favourite program in my favourite programming language - Fix dependencies and missing defines - do configure in configure step - make portlint happy - use variables in plist - honor it does install in Local, not in System PR: 33843 Submitted by: flynn@energyhq.homeip.net
Notes
Notes: svn path=/head/; revision=60681
Diffstat (limited to 'x11-toolkits/gtoolkit')
-rw-r--r--x11-toolkits/gtoolkit/Makefile71
-rw-r--r--x11-toolkits/gtoolkit/distinfo1
-rw-r--r--x11-toolkits/gtoolkit/pkg-comment1
-rw-r--r--x11-toolkits/gtoolkit/pkg-descr19
-rw-r--r--x11-toolkits/gtoolkit/pkg-plist107
5 files changed, 199 insertions, 0 deletions
diff --git a/x11-toolkits/gtoolkit/Makefile b/x11-toolkits/gtoolkit/Makefile
new file mode 100644
index 000000000000..03d5a55e3642
--- /dev/null
+++ b/x11-toolkits/gtoolkit/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: gtoolkit
+# Date created: 13 Jan 2002
+# Whom: Miguel Mendez <flynn@energyhq.homeip.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtoolkit
+PORTVERSION= 0.9.4
+CATEGORIES= x11-toolkits
+MASTER_SITES= ftp://ftp.inf.uos.de/pub/elmar/gtk/objc-gtoolkit/
+
+MAINTAINER= flynn@energyhq.homeip.net
+
+BUILD_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
+RUN_DEPENDS= ${COMBOLIBDIR}/libgnustep-base.so:${PORTSDIR}/lang/gnustep-base
+
+PREFIX= ${LOCALBASE}/GNUstep
+USE_NEWGCC= yes
+USE_GMAKE= yes
+USE_GTK= yes
+GNU_CONFIGURE= yes
+NO_MTREE= yes
+
+MAKE_ARGS= GNUSTEP_SYSTEM_ROOT=$(PREFIX)/System
+CONFIGURE_ARGS+= --with-gnustep
+INSTALLS_SHLIB= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/GToolKit
+CONFIGURE_WRKSRC= ${WRKDIR}/${DISTNAME}
+
+post-patch:
+ @${PERL} -pi -e 's#gtk-config#gtk12-config#g' \
+ ${WRKDIR}/${DISTNAME}/configure
+
+do-configure:
+ @(cd ${CONFIGURE_WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
+ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \
+ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
+ INSTALL="/usr/bin/install -c -o ${BINOWN} -g ${BINGRP}" \
+ INSTALL_DATA="${INSTALL} -c" \
+ INSTALL_PROGRAM="${INSTALL} -c" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; then \
+ ${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \
+ ${CAT} ${CONFIGURE_LOG}; \
+ ${ECHO} "(end of \"${CONFIGURE_LOG}\")"; \
+ ${FALSE}; \
+ fi)
+
+do-build:
+ @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+
+do-install:
+ @(cd ${WRKSRC}; . ${PREFIX}/System/Makefiles/GNUstep.sh; \
+ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${INSTALL_TARGET})
+
+.include <bsd.port.pre.mk>
+
+.if ${MACHINE_ARCH} == "i386"
+GNU_ARCH= ix86
+.else
+GNU_ARCH= ${MACHINE_ARCH}
+.endif
+PLIST_SUB+= GNU_ARCH=${GNU_ARCH} OPSYS=${OPSYS:L} VERSION=${PORTVERSION}
+
+SYSTEMDIR= ${PREFIX}/System
+SYSLIBDIR= ${SYSTEMDIR}/Libraries/${GNU_ARCH}/${OPSYS:L}
+COMBOLIBDIR= ${SYSLIBDIR}/gnu-gnu-gnu
+
+.include <bsd.port.post.mk>
diff --git a/x11-toolkits/gtoolkit/distinfo b/x11-toolkits/gtoolkit/distinfo
new file mode 100644
index 000000000000..1e5d08a8ce7d
--- /dev/null
+++ b/x11-toolkits/gtoolkit/distinfo
@@ -0,0 +1 @@
+MD5 (gtoolkit-0.9.4.tar.gz) = de7ff8cfd873bee5ddcdf5abff820ae7
diff --git a/x11-toolkits/gtoolkit/pkg-comment b/x11-toolkits/gtoolkit/pkg-comment
new file mode 100644
index 000000000000..5a0f63d3e649
--- /dev/null
+++ b/x11-toolkits/gtoolkit/pkg-comment
@@ -0,0 +1 @@
+Obj-C wrapper for gtk, a x11 graphics library
diff --git a/x11-toolkits/gtoolkit/pkg-descr b/x11-toolkits/gtoolkit/pkg-descr
new file mode 100644
index 000000000000..7f3a80f4de33
--- /dev/null
+++ b/x11-toolkits/gtoolkit/pkg-descr
@@ -0,0 +1,19 @@
+GToolKit is a (relatively) small library that implements a simple and easy to
+use Objective-C interface to the GTK+ widget set. Well, the library in itself
+does not do very much, of course. It just allows you to write your favourite
+program in my favourite programming language ;-).
+
+Currently implemented features:
+
+- wrapper classes for all classes in GTK+-1.2 (but not GDK)
+- builds with GNUstep base or libFoundation library
+- OpenStep-like API naming conventions (example)
+- OpenStep-like Application class (GTKApplication)
+- Application and Window delegates
+- Notifications (ApplicationWillTerminate etc.)
+- can load user interfaces created with Glade
+- works in multi-threaded programs (not well tested)
+
+WWW: http://www.informatik.uni-osnabrueck.de/elmar/projects/gtoolkit/
+
+Miguel Mendez <flynn@energyhq.homeip.net>
diff --git a/x11-toolkits/gtoolkit/pkg-plist b/x11-toolkits/gtoolkit/pkg-plist
new file mode 100644
index 000000000000..fd38ff98a6a4
--- /dev/null
+++ b/x11-toolkits/gtoolkit/pkg-plist
@@ -0,0 +1,107 @@
+Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libGToolKit.so
+Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libGToolKit.so.0
+Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/libGToolKit.so.%%VERSION%%
+System/Makefiles/gtk-tool.make
+Local/Headers/GToolKit/GTKRuler.h
+Local/Headers/GToolKit/GTKGladeXML.h
+Local/Headers/GToolKit/GTKObject.h
+Local/Headers/GToolKit/GTKLabel.h
+Local/Headers/GToolKit/GTKAction.h
+Local/Headers/GToolKit/GTKToolbar.h
+Local/Headers/GToolKit/GTKRadioMenuItem.h
+Local/Headers/GToolKit/GTKTreeItem.h
+Local/Headers/GToolKit/GTKVBox.h
+Local/Headers/GToolKit/GTKPreview.h
+Local/Headers/GToolKit/GTKHPaned.h
+Local/Headers/GToolKit/GTKDialog.h
+Local/Headers/GToolKit/GTKHButtonBox.h
+Local/Headers/GToolKit/GTKHScrollbar.h
+Local/Headers/GToolKit/GTKFixed.h
+Local/Headers/GToolKit/GTKFrame.h
+Local/Headers/GToolKit/GTKAccelLabel.h
+Local/Headers/GToolKit/GTKCTree.h
+Local/Headers/GToolKit/GToolKit.h
+Local/Headers/GToolKit/GTKEventBox.h
+Local/Headers/GToolKit/GTKHRuler.h
+Local/Headers/GToolKit/GTKText.h
+Local/Headers/GToolKit/GTKCheckButton.h
+Local/Headers/GToolKit/GTKPlug.h
+Local/Headers/GToolKit/GTKScrollbar.h
+Local/Headers/GToolKit/GTKCurve.h
+Local/Headers/GToolKit/GTKHSeparator.h
+Local/Headers/GToolKit/GTKTree.h
+Local/Headers/GToolKit/GTKScrolledWindow.h
+Local/Headers/GToolKit/GTKInputDialog.h
+Local/Headers/GToolKit/GTKCombo.h
+Local/Headers/GToolKit/GTKOptionMenu.h
+Local/Headers/GToolKit/GTKColorSelectionDialog.h
+Local/Headers/GToolKit/GTKHScale.h
+Local/Headers/GToolKit/GTKImage.h
+Local/Headers/GToolKit/GTKButton.h
+Local/Headers/GToolKit/GTKFontSelectionDialog.h
+Local/Headers/GToolKit/GTKMenuFactory.h
+Local/Headers/GToolKit/GTKColorSelection.h
+Local/Headers/GToolKit/GTKTearoffMenuItem.h
+Local/Headers/GToolKit/GTKButtonBox.h
+Local/Headers/GToolKit/GTKSeparator.h
+Local/Headers/GToolKit/GTKEntry.h
+Local/Headers/GToolKit/GTKCheckMenuItem.h
+Local/Headers/GToolKit/GTKItem.h
+Local/Headers/GToolKit/GTKVScale.h
+Local/Headers/GToolKit/GTKScale.h
+Local/Headers/GToolKit/GTKMenuItem.h
+Local/Headers/GToolKit/GTKBin.h
+Local/Headers/GToolKit/GTKTooltips.h
+Local/Headers/GToolKit/GTKTable.h
+Local/Headers/GToolKit/GTKToggleButton.h
+Local/Headers/GToolKit/GTKAccelGroup.h
+Local/Headers/GToolKit/GTKRange.h
+Local/Headers/GToolKit/GTKListItem.h
+Local/Headers/GToolKit/GTKArrow.h
+Local/Headers/GToolKit/GTKMenuBar.h
+Local/Headers/GToolKit/GTKDrawingArea.h
+Local/Headers/GToolKit/GTKLayout.h
+Local/Headers/GToolKit/GTKWindow.h
+Local/Headers/GToolKit/GTKFontSelection.h
+Local/Headers/GToolKit/GTKHandleBox.h
+Local/Headers/GToolKit/GTKMisc.h
+Local/Headers/GToolKit/GTKEditable.h
+Local/Headers/GToolKit/GTKAspectFrame.h
+Local/Headers/GToolKit/GTKVSeparator.h
+Local/Headers/GToolKit/GTKBox.h
+Local/Headers/GToolKit/GTKGammaCurve.h
+Local/Headers/GToolKit/GTKPaned.h
+Local/Headers/GToolKit/GTKProgress.h
+Local/Headers/GToolKit/GTKNotebook.h
+Local/Headers/GToolKit/GTKRadioButton.h
+Local/Headers/GToolKit/GTKMain.h
+Local/Headers/GToolKit/GTKStyle.h
+Local/Headers/GToolKit/GTKProgressBar.h
+Local/Headers/GToolKit/GTKItemFactory.h
+Local/Headers/GToolKit/GTKStatusbar.h
+Local/Headers/GToolKit/GTKViewport.h
+Local/Headers/GToolKit/GTKApplication.h
+Local/Headers/GToolKit/GTKMenuShell.h
+Local/Headers/GToolKit/GTKCList.h
+Local/Headers/GToolKit/GTKAlignment.h
+Local/Headers/GToolKit/GTK.h
+Local/Headers/GToolKit/GTKVRuler.h
+Local/Headers/GToolKit/GTKMenu.h
+Local/Headers/GToolKit/GTKList.h
+Local/Headers/GToolKit/GTKWidget.h
+Local/Headers/GToolKit/GTKHBox.h
+Local/Headers/GToolKit/GTKVPaned.h
+Local/Headers/GToolKit/GTKPixmap.h
+Local/Headers/GToolKit/GTKFileSelection.h
+Local/Headers/GToolKit/GTKVScrollbar.h
+Local/Headers/GToolKit/GTKVButtonBox.h
+Local/Headers/GToolKit/GTKPacker.h
+Local/Headers/GToolKit/GTKTipsQuery.h
+Local/Headers/GToolKit/GTKCalendar.h
+Local/Headers/GToolKit/GTKAdjustment.h
+Local/Headers/GToolKit/GTKSpinButton.h
+Local/Headers/GToolKit/GTKData.h
+Local/Headers/GToolKit/GTKSocket.h
+Local/Headers/GToolKit/GTKInvisible.h
+Local/Headers/GToolKit/GTKContainer.h
+@dirrm Local/Headers/GToolKit