2008-04-25 15:14:52 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 2008/04/25 13:14:52 joerg Exp $
|
2005-02-20 17:18:41 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= scid-3.6.1
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2005-02-20 17:18:41 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scid/}
|
|
|
|
|
|
|
|
MAINTAINER= luapzz@gmail.com
|
|
|
|
HOMEPAGE= http://scid.sourceforge.net/
|
|
|
|
COMMENT= Shane's Chess Information Database
|
|
|
|
|
2008-04-25 15:14:52 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2005-02-20 17:18:41 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
HAS_CONFIGURE= yes
|
2006-05-15 23:00:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-05-22 22:07:36 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-02-20 17:18:41 +01:00
|
|
|
|
|
|
|
CONFIGURE_ENV+= TCLCONFIG_SH=${TCLCONFIG_SH:Q}
|
|
|
|
CONFIGURE_ARGS+= BINDIR=${PREFIX}/bin SHAREDIR=${PREFIX}/share/scid
|
|
|
|
|
|
|
|
SUBST_CLASSES+= paths
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.paths= Fixing paths to tcl.h and tk.h.
|
2005-02-20 17:18:41 +01:00
|
|
|
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'
|
|
|
|
|
2006-04-21 13:52:19 +02:00
|
|
|
MAKE_ENV+= X_LDFLAGS=${X11_LDFLAGS:Q}
|
|
|
|
|
2005-02-20 17:18:41 +01:00
|
|
|
.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"
|