aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tile/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2009-02-14 10:53:40 +0000
committerMartin Matuska <mm@FreeBSD.org>2009-02-14 10:53:40 +0000
commit73435c2d2458b09fecc654e5640d2ffe2e13be03 (patch)
treeaf5840bce5a7b69604e29dd19bc59f48c82de896 /x11-toolkits/tile/Makefile
parent950d02702cb7422d83603551cad56055dff4a1d8 (diff)
downloadports-73435c2d2458b09fecc654e5640d2ffe2e13be03.tar.gz
ports-73435c2d2458b09fecc654e5640d2ffe2e13be03.zip
Notes
Diffstat (limited to 'x11-toolkits/tile/Makefile')
-rw-r--r--x11-toolkits/tile/Makefile31
1 files changed, 17 insertions, 14 deletions
diff --git a/x11-toolkits/tile/Makefile b/x11-toolkits/tile/Makefile
index 4574f3b44fda..5f8722760cca 100644
--- a/x11-toolkits/tile/Makefile
+++ b/x11-toolkits/tile/Makefile
@@ -6,28 +6,31 @@
#
PORTNAME= tile
-PORTVERSION= 0.7.8
-PORTREVISION= 1
+PORTVERSION= 0.8.2
CATEGORIES= x11-toolkits tk
MASTER_SITES= SF/tktable
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= mm@FreeBSD.org
COMMENT= Themed widget set for Tk
-USE_TK= yes
+USE_TK= 84+
+
+USE_AUTOTOOLS= autoconf:262
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl=${TCL_LIBDIR} \
- --with-tk=${TK_LIBDIR} \
- --exec-prefix=${PREFIX} --enable-shared
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${TCL_INCLUDES} ${TK_INCLUDES}"
-TCL_INCLUDES= -I${LOCALBASE}/include/tcl${TK_VER} -I${LOCALBASE}/include/tcl${TK_VER}/generic
-TK_INCLUDES= -I${LOCALBASE}/include/tk${TK_VER} -I${LOCALBASE}/include/tk${TK_VER}/generic
TKPKG= ${PORTNAME}${PORTVERSION}
PLIST_SUB= VER=${PORTVERSION} TKPKG=${TKPKG}
-USE_LDCONFIG= ${PREFIX}/lib/${TKPKG}
-post-install:
- @${LN} -sf ${USE_LDCONFIG}/lib${TKPKG}.so ${USE_LDCONFIG}/lib${TKPKG}.so.0
+.include <bsd.port.pre.mk>
+
+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 <bsd.port.mk>
+.include <bsd.port.post.mk>