aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/blt/Makefile
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2007-08-24 19:41:04 +0000
committerMartin Matuska <mm@FreeBSD.org>2007-08-24 19:41:04 +0000
commitc75eaadcfabc20b74a847cca8a1ebc83b2546cdd (patch)
tree3fbe7d07677aac47464d54c5df71f0117f17e670 /x11-toolkits/blt/Makefile
parent59f72fca509b9e157ed24613b736bd691af441a5 (diff)
downloadports-c75eaadcfabc20b74a847cca8a1ebc83b2546cdd.tar.gz
ports-c75eaadcfabc20b74a847cca8a1ebc83b2546cdd.zip
Notes
Diffstat (limited to 'x11-toolkits/blt/Makefile')
-rw-r--r--x11-toolkits/blt/Makefile24
1 files changed, 11 insertions, 13 deletions
diff --git a/x11-toolkits/blt/Makefile b/x11-toolkits/blt/Makefile
index 985496a476d6..67b768ce26e0 100644
--- a/x11-toolkits/blt/Makefile
+++ b/x11-toolkits/blt/Makefile
@@ -26,25 +26,23 @@ COMMENT= A Tk extension (with shared libs)
USE_LDCONFIG= yes
USE_AUTOTOOLS= libtool:15
-LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84
-
WRKSRC= ${WRKDIR}/blt2.4z
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX} \
- --exec_prefix=${PREFIX} \
- --with-tcl=${LOCALBASE}/lib/tcl${TK_VER} \
- --with-tk=${LOCALBASE}/lib/tk${TK_VER} \
- --with-tcllibs=${LOCALBASE}/lib/ \
- --with-tklibs=${LOCALBASE}/lib/ \
- --with-tclincls=${LOCALBASE}/include/tcl${TK_VER} \
- --with-tkincls=${LOCALBASE}/include/tk${TK_VER} \
- --x-libraries=${X11BASE}/lib \
- --x-includes=${X11BASE}/include
-TK_VER?= 8.4
+USE_TK= 80+
+INVALID_TK_VER= 85
+USE_XORG= x11
.include <bsd.port.pre.mk>
+CONFIGURE_ARGS+= --exec_prefix=${PREFIX} \
+ --with-tcl=${TCL_LIBDIR} \
+ --with-tk=${TK_LIBDIR} \
+ --with-tcllibs=${LOCALBASE}/lib/ \
+ --with-tklibs=${LOCALBASE}/lib/ \
+ --with-tclincls=${TCL_INCLUDEDIR} \
+ --with-tkincls=${TK_INCLUDEDIR}
+
post-install:
${LN} -sf libBLT24.so.3 ${PREFIX}/lib/libBLT24.so
${LN} -sf libBLTlite24.so.3 ${PREFIX}/lib/libBLTlite24.so