summaryrefslogtreecommitdiff
path: root/games/scid/Makefile
diff options
context:
space:
mode:
authorminskim <minskim>2005-02-20 16:18:41 +0000
committerminskim <minskim>2005-02-20 16:18:41 +0000
commitd5333ef4f70d428a87a2c81eec60559cdd820e36 (patch)
tree284a43312fa3b2617a3fcf89734100b53492e2e9 /games/scid/Makefile
parentae09185b75d890c332fdf683aa3460aeabfc92db (diff)
downloadpkgsrc-d5333ef4f70d428a87a2c81eec60559cdd820e36.tar.gz
Import scid. Packaged by Jung-Min Seo, aka luapz, and modified by me.
Scid is a chess database application. With Scid you can maintain a database of chess games, search games by many criteria, view graphical trends, and produce printable reports on players and openings. You can also analyze games with the chess program Scidlet or any other WinBoard-compatible chess engine, and even use Scid to study endings with endgame tablebases. There are many more features as well.
Diffstat (limited to 'games/scid/Makefile')
-rw-r--r--games/scid/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/scid/Makefile b/games/scid/Makefile
new file mode 100644
index 00000000000..36947308845
--- /dev/null
+++ b/games/scid/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/20 16:18:41 minskim Exp $
+#
+
+DISTNAME= scid-3.6.1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scid/}
+
+MAINTAINER= luapzz@gmail.com
+HOMEPAGE= http://scid.sourceforge.net/
+COMMENT= Shane's Chess Information Database
+
+USE_BUILDLINK3= yes
+USE_PKGLOCALEDIR= yes
+HAS_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+
+CONFIGURE_ENV+= TCLCONFIG_SH=${TCLCONFIG_SH:Q}
+CONFIGURE_ARGS+= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}/share/scid
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing paths to tcl.h and tk.h."
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= configure
+SUBST_SED.paths= -e 's,@TCLPREFIX@,${BUILDLINK_PREFIX.tcl},g' \
+ -e 's,@TKPREFIX@,${BUILDLINK_PREFIX.tk},g' \
+ -e 's,@LIBDL@,${BUILDLINK_LDADD.dl},g'
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/tcl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"