2013-09-20 17:36:33 +00:00
|
|
|
# Created by: ijliao
|
2002-03-04 15:11:47 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= scid
|
2017-01-04 08:01:51 +00:00
|
|
|
PORTVERSION= 4.6.4
|
2017-09-07 11:01:02 +00:00
|
|
|
PORTREVISION= 1
|
2003-01-27 16:04:55 +00:00
|
|
|
CATEGORIES= games databases
|
2015-10-21 14:16:31 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.6/
|
2002-03-04 15:11:47 +00:00
|
|
|
|
2009-01-18 11:21:56 +00:00
|
|
|
MAINTAINER= bsd@volki.at
|
2014-03-12 15:47:11 +00:00
|
|
|
COMMENT= Free chess database application
|
2002-03-04 15:11:47 +00:00
|
|
|
|
2012-02-17 21:25:35 +00:00
|
|
|
HAS_CONFIGURE= yes
|
2017-09-07 11:01:02 +00:00
|
|
|
USES= gmake python shebangfix tk:85+ zip
|
2015-11-05 10:55:47 +00:00
|
|
|
SHEBANG_FILES= tcl/lang/checklangs.tcl \
|
|
|
|
tcl/lang/propagatelang.tcl \
|
|
|
|
tcl/lang/removetoken.tcl
|
2012-02-17 21:25:35 +00:00
|
|
|
|
2014-02-18 15:28:34 +00:00
|
|
|
TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}
|
2012-02-17 21:25:35 +00:00
|
|
|
|
2015-10-21 14:16:31 +00:00
|
|
|
CONFIGURE_CMD= ${TCLSH} ${CONFIGURE_SCRIPT}
|
2012-02-17 21:25:35 +00:00
|
|
|
CONFIGURE_ARGS= \
|
|
|
|
BINDIR="${PREFIX}/bin" \
|
|
|
|
SHAREDIR="${PREFIX}/share/scid" \
|
2014-03-12 15:47:11 +00:00
|
|
|
THREADS="-pthread" \
|
2012-02-17 21:25:35 +00:00
|
|
|
TCL_VERSION="${TCL_VER}" \
|
|
|
|
TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \
|
|
|
|
TCL_LIBRARY="${TCL_LIBRARY}" \
|
2014-02-18 15:28:34 +00:00
|
|
|
TK_LIBRARY="${TCL_LIBRARY} -ltk${TK_SHLIB_VER} -lX11" \
|
2012-02-17 21:25:35 +00:00
|
|
|
OPTIMIZE="${CXXFLAGS} -fno-rtti -fno-exceptions" \
|
|
|
|
WARNINGS=""
|
2002-03-04 15:11:47 +00:00
|
|
|
|
2014-03-12 15:47:11 +00:00
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|g++|${CXX}|g; s|gcc|${CC}|g' \
|
|
|
|
${WRKSRC}/Makefile \
|
|
|
|
${WRKSRC}/engines/phalanx-scid/makefile \
|
|
|
|
${WRKSRC}/engines/togaII1.2.1a/src/Makefile
|
2009-01-18 11:21:56 +00:00
|
|
|
|
2013-02-06 15:42:16 +00:00
|
|
|
.include <bsd.port.mk>
|