aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/gnocl/Makefile49
-rw-r--r--x11-toolkits/gnocl/distinfo1
-rw-r--r--x11-toolkits/gnocl/pkg-descr12
-rw-r--r--x11-toolkits/gnocl/pkg-plist2
5 files changed, 65 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index cf2cb1828591..6a19297719ed 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -28,6 +28,7 @@
SUBDIR += gdl
SUBDIR += geramik
SUBDIR += gevas
+ SUBDIR += gnocl
SUBDIR += gnome--
SUBDIR += gnome-industrial-theme
SUBDIR += gnome-look
diff --git a/x11-toolkits/gnocl/Makefile b/x11-toolkits/gnocl/Makefile
new file mode 100644
index 000000000000..11993963c098
--- /dev/null
+++ b/x11-toolkits/gnocl/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: gnocl
+# Date created: 15 August 2003
+# Whom: Stephane Legrand <stephane@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnocl
+PORTVERSION= 0.5.10
+CATEGORIES= x11-toolkits devel
+MASTER_SITES= http://www.dr-baum.net/gnocl/
+
+MAINTAINER= stephane@FreeBSD.org
+COMMENT= GTK+ and Gnome extension for Tcl
+
+BUILD_DEPENDS= ${LOCALBASE}/include/tcl8.4/tcl.h:${PORTSDIR}/lang/tcl84
+
+USE_GMAKE= yes
+USE_BZIP2= yes
+INSTALLS_SHLIB= yes
+
+BUILD_WRKSRC= ${WRKSRC}/src
+CFLAGS+= -I${LOCALBASE}/include/tcl8.4
+
+USE_X_PREFIX= yes
+USE_GNOME= libgnomecanvas
+
+GNOCL_CANVAS_FILE="lib/libgnoclCanvas.so.1"
+
+.if defined(WITHOUT_CANVAS)
+ALL_TARGET= gnocl
+USE_GNOME= gtk20
+GNOCL_CANVAS_FILE= "@comment "
+.endif
+
+.if defined(WITH_GNOME)
+GNOCL_USE_GNOME:=1
+USE_GNOME+= libgnomeui
+.endif
+
+PLIST_SUB+= GNOCL_CANVAS_FILE=${GNOCL_CANVAS_FILE}
+
+do-install:
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/gnocl.so ${PREFIX}/lib/libgnocl.so.1
+ if ${TEST} -f ${BUILD_WRKSRC}/gnoclCanvas.so; then \
+ ${INSTALL_DATA} ${BUILD_WRKSRC}/gnoclCanvas.so ${PREFIX}/lib/libgnoclCanvas.so.1; \
+ fi; \
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/gnocl/distinfo b/x11-toolkits/gnocl/distinfo
new file mode 100644
index 000000000000..266f8da3a24a
--- /dev/null
+++ b/x11-toolkits/gnocl/distinfo
@@ -0,0 +1 @@
+MD5 (gnocl-0.5.10.tar.bz2) = 1d1b01c536a58e217cf4f069d5113210
diff --git a/x11-toolkits/gnocl/pkg-descr b/x11-toolkits/gnocl/pkg-descr
new file mode 100644
index 000000000000..77f2671707bc
--- /dev/null
+++ b/x11-toolkits/gnocl/pkg-descr
@@ -0,0 +1,12 @@
+gnocl is a GTK+ and Gnome extension for the programming language
+Tcl. It provides easy to use commands to build quickly GTK+ and
+Gnome compliant user interfaces including the Gnome canvas widget
+and drag and drop support.
+
+gnocl can be compiled in three flavors:
+
+* GTK only
+* GTK and the Gnome canvas widget
+* GTK, the Gnome canvas widget and Gnome UI libs.
+
+WWW: http://www.dr-baum.net/gnocl/index.html
diff --git a/x11-toolkits/gnocl/pkg-plist b/x11-toolkits/gnocl/pkg-plist
new file mode 100644
index 000000000000..8bad19df9b9e
--- /dev/null
+++ b/x11-toolkits/gnocl/pkg-plist
@@ -0,0 +1,2 @@
+lib/libgnocl.so.1
+%%GNOCL_CANVAS_FILE%%