summaryrefslogtreecommitdiff
path: root/games/scid/Makefile
diff options
context:
space:
mode:
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"