From 3269236c6401fe9a88faf11f523dc2f9091601ea Mon Sep 17 00:00:00 2001 From: DPorts Builder Date: Sat, 3 Oct 2015 06:45:33 -0700 Subject: [PATCH] Import x11-toolkits/tile version 0.8.4.0 --- x11-toolkits/tile/Makefile | 31 +++++++++++++++ x11-toolkits/tile/Makefile.DragonFly | 5 +++ x11-toolkits/tile/distinfo | 2 + .../tile/files/patch-tclconfig-tcl.m4 | 38 +++++++++++++++++++ x11-toolkits/tile/pkg-descr | 8 ++++ x11-toolkits/tile/pkg-plist | 32 ++++++++++++++++ 6 files changed, 116 insertions(+) create mode 100644 x11-toolkits/tile/Makefile create mode 100644 x11-toolkits/tile/Makefile.DragonFly create mode 100644 x11-toolkits/tile/distinfo create mode 100644 x11-toolkits/tile/files/patch-tclconfig-tcl.m4 create mode 100644 x11-toolkits/tile/pkg-descr create mode 100644 x11-toolkits/tile/pkg-plist diff --git a/x11-toolkits/tile/Makefile b/x11-toolkits/tile/Makefile new file mode 100644 index 00000000000..a004438ac39 --- /dev/null +++ b/x11-toolkits/tile/Makefile @@ -0,0 +1,31 @@ +# Created by: Andrew Pantyukhin +# $FreeBSD$ + +PORTNAME= tile +PORTVERSION= 0.8.4.0 +CATEGORIES= x11-toolkits tk +MASTER_SITES= SF/tktable/${PORTNAME}/${PORTNAME}-0-8-4-0 + +MAINTAINER= ports@FreeBSD.org +COMMENT= Themed widget set for Tk + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/license.terms + +USES= autoreconf tk + +GNU_CONFIGURE= yes +TKPKG= ${PORTNAME}${PORTVERSION} +PLIST_SUB= VER=${PORTVERSION} TKPKG=${TKPKG} + +CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \ + --with-tk=${TK_LIBDIR} \ + --exec-prefix=${PREFIX} --enable-shared +CONFIGURE_ENV+= TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \ + TK_INCLUDEDIR="${TK_INCLUDEDIR}" + +pre-configure: + @${REINPLACE_CMD} -e "s/package require Tcl 8\../package require Tcl ${TCL_VER}/g" \ + ${WRKSRC}/Makefile.in + +.include diff --git a/x11-toolkits/tile/Makefile.DragonFly b/x11-toolkits/tile/Makefile.DragonFly new file mode 100644 index 00000000000..95a16866d4c --- /dev/null +++ b/x11-toolkits/tile/Makefile.DragonFly @@ -0,0 +1,5 @@ + +# must be invoked after autotools but before configure step +run-autotools-fixup: + ${REINPLACE_CMD} -e 's@\(FreeBSD-\*\)@\1|DragonFly-*@g' \ + ${WRKSRC}/configure diff --git a/x11-toolkits/tile/distinfo b/x11-toolkits/tile/distinfo new file mode 100644 index 00000000000..6013b1fd5bb --- /dev/null +++ b/x11-toolkits/tile/distinfo @@ -0,0 +1,2 @@ +SHA256 (tile-0.8.4.0.tar.gz) = 31e4db2445417f5082ea2e9cc8fadded8121e330d4757e36f6cc3f23522ac1ea +SIZE (tile-0.8.4.0.tar.gz) = 628069 diff --git a/x11-toolkits/tile/files/patch-tclconfig-tcl.m4 b/x11-toolkits/tile/files/patch-tclconfig-tcl.m4 new file mode 100644 index 00000000000..45110d00c03 --- /dev/null +++ b/x11-toolkits/tile/files/patch-tclconfig-tcl.m4 @@ -0,0 +1,38 @@ +--- tclconfig/tcl.m4.orig 2010-11-13 19:12:50.000000000 +0100 ++++ tclconfig/tcl.m4 2010-11-30 15:43:29.209843513 +0100 +@@ -3360,7 +3360,7 @@ + AC_REQUIRE([TEA_PUBLIC_TCL_HEADERS]) + AC_MSG_CHECKING([for Tcl private include files]) + +- TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_SRC_DIR}` ++ TCL_SRC_DIR_NATIVE=`${CYGPATH} ${TCL_INCLUDEDIR}` + TCL_TOP_DIR_NATIVE=\"${TCL_SRC_DIR_NATIVE}\" + + # Check to see if tclPort.h isn't already with the public headers +@@ -3399,7 +3399,7 @@ + esac + result="Using ${TCL_INCLUDES}" + else +- if test ! -f "${TCL_SRC_DIR}/generic/tclInt.h" ; then ++ if test ! -f "${TCL_INCLUDEDIR}/generic/tclInt.h" ; then + AC_MSG_ERROR([Cannot find private header tclInt.h in ${TCL_SRC_DIR}]) + fi + result="Using srcdir found in tclConfig.sh: ${TCL_SRC_DIR}" +@@ -3527,7 +3527,7 @@ + AC_REQUIRE([TEA_PUBLIC_TK_HEADERS]) + AC_MSG_CHECKING([for Tk private include files]) + +- TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_SRC_DIR}` ++ TK_SRC_DIR_NATIVE=`${CYGPATH} ${TK_INCLUDEDIR}` + TK_TOP_DIR_NATIVE=\"${TK_SRC_DIR_NATIVE}\" + + # Check to see if tkPort.h isn't already with the public headers +@@ -3577,7 +3577,7 @@ + esac + result="Using ${TK_INCLUDES}" + else +- if test ! -f "${TK_SRC_DIR}/generic/tkInt.h" ; then ++ if test ! -f "${TK_INCLUDEDIR}/generic/tkInt.h" ; then + AC_MSG_ERROR([Cannot find private header tkInt.h in ${TK_SRC_DIR}]) + fi + result="Using srcdir found in tkConfig.sh: ${TK_SRC_DIR}" diff --git a/x11-toolkits/tile/pkg-descr b/x11-toolkits/tile/pkg-descr new file mode 100644 index 00000000000..369db2ae8cb --- /dev/null +++ b/x11-toolkits/tile/pkg-descr @@ -0,0 +1,8 @@ +The Tile Widget Set is a next-generation re-implementation of many of the core +Tk widgets, along with the addition of several new widgets. With Tile, Tk +applications can achieve an appearance much closer to native platform widgets, +as well as take advantage of a modern, highly dynamic theme engine to produce a +wide variety of alternative user interface styles. Tile widgets complement the +existing Tk widgets, and Tile is currently being incorporated directly into Tk. + +WWW: http://tktable.sourceforge.net/tile/ diff --git a/x11-toolkits/tile/pkg-plist b/x11-toolkits/tile/pkg-plist new file mode 100644 index 00000000000..ffa060c24e2 --- /dev/null +++ b/x11-toolkits/tile/pkg-plist @@ -0,0 +1,32 @@ +include/tkTheme.h +include/ttkDecls.h +lib/libttkstub.a +lib/%%TKPKG%%/altTheme.tcl +lib/%%TKPKG%%/aquaTheme.tcl +lib/%%TKPKG%%/button.tcl +lib/%%TKPKG%%/clamTheme.tcl +lib/%%TKPKG%%/classicTheme.tcl +lib/%%TKPKG%%/combobox.tcl +lib/%%TKPKG%%/cursors.tcl +lib/%%TKPKG%%/defaults.tcl +lib/%%TKPKG%%/dialog.tcl +lib/%%TKPKG%%/entry.tcl +lib/%%TKPKG%%/fonts.tcl +lib/%%TKPKG%%/icons.tcl +lib/%%TKPKG%%/keynav.tcl +lib/%%TKPKG%%/menubutton.tcl +lib/%%TKPKG%%/notebook.tcl +lib/%%TKPKG%%/paned.tcl +lib/%%TKPKG%%/pkgIndex.tcl +lib/%%TKPKG%%/progress.tcl +lib/%%TKPKG%%/scale.tcl +lib/%%TKPKG%%/scrollbar.tcl +lib/%%TKPKG%%/sizegrip.tcl +lib/%%TKPKG%%/spinbox.tcl +lib/%%TKPKG%%/tile.so +lib/%%TKPKG%%/tile.tcl +lib/%%TKPKG%%/treeview.tcl +lib/%%TKPKG%%/utils.tcl +lib/%%TKPKG%%/vistaTheme.tcl +lib/%%TKPKG%%/winTheme.tcl +lib/%%TKPKG%%/xpTheme.tcl -- 2.41.0