1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/scid/Makefile
2017-09-07 11:01:02 +00:00

40 lines
1.1 KiB
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= scid
PORTVERSION= 4.6.4
PORTREVISION= 1
CATEGORIES= games databases
MASTER_SITES= SF/${PORTNAME}/Scid/Scid%204.6/
MAINTAINER= bsd@volki.at
COMMENT= Free chess database application
HAS_CONFIGURE= yes
USES= gmake python shebangfix tk:85+ zip
SHEBANG_FILES= tcl/lang/checklangs.tcl \
tcl/lang/propagatelang.tcl \
tcl/lang/removetoken.tcl
TCL_LIBRARY= -L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}
CONFIGURE_CMD= ${TCLSH} ${CONFIGURE_SCRIPT}
CONFIGURE_ARGS= \
BINDIR="${PREFIX}/bin" \
SHAREDIR="${PREFIX}/share/scid" \
THREADS="-pthread" \
TCL_VERSION="${TCL_VER}" \
TCL_INCLUDE="-I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} -I${LOCALBASE}/include" \
TCL_LIBRARY="${TCL_LIBRARY}" \
TK_LIBRARY="${TCL_LIBRARY} -ltk${TK_SHLIB_VER} -lX11" \
OPTIMIZE="${CXXFLAGS} -fno-rtti -fno-exceptions" \
WARNINGS=""
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
.include <bsd.port.mk>