diff options
author | Martin Matuska <mm@FreeBSD.org> | 2009-02-02 11:44:26 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2009-02-02 11:44:26 +0000 |
commit | e7d914cc096a06a3f1337c77b8a012a7ce085c1b (patch) | |
tree | 44b0d2ad39d2f0d51dc26214c03b3910dc6cd7dd /games/scid/Makefile | |
parent | 8778ccc5a2a10768754d06a3a644886431e2db11 (diff) | |
download | ports-e7d914cc096a06a3f1337c77b8a012a7ce085c1b.tar.gz ports-e7d914cc096a06a3f1337c77b8a012a7ce085c1b.zip |
Notes
Diffstat (limited to 'games/scid/Makefile')
-rw-r--r-- | games/scid/Makefile | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/games/scid/Makefile b/games/scid/Makefile index c429671f277f..754996634d72 100644 --- a/games/scid/Makefile +++ b/games/scid/Makefile @@ -8,14 +8,15 @@ PORTNAME= scid PORTVERSION= 3.6.26 +PORTREVISION= 1 CATEGORIES= games databases MASTER_SITES= SF MAINTAINER= bsd@volki.at COMMENT= A free chess database application -LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85 \ - tk85:${PORTSDIR}/x11-toolkits/tk85 +USE_TK= 84+ +INVALID_TCL_VER= 86 USE_BZIP2= yes USE_PYTHON= yes @@ -25,4 +26,17 @@ ALL_TARGET= all strip WRKSRC= ${WRKDIR}/${PORTNAME} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +MAKE_ARGS+= TCL_VER="${TCL_VER}" \ + TCL_LIBVER="${TCL_VER:S/.//}" \ + TCL_THREADS_SUFFIX="${_TCL_THREADS_SUFFIX}" \ + TCL_LIBDIR="${TCL_LIBDIR}" \ + TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \ + TK_LIBDIR="${TK_LIBDIR}" \ + TK_INCLUDEDIR="${TK_INCLUDEDIR}" + +.if defined(USE_TCL_THREADS) +MAKE_ARGS+= PTHREAD_LIBS="${PTHREAD_LIBS}" +.endif + +.include <bsd.port.post.mk> |