585534220c
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
31 lines
933 B
Makefile
31 lines
933 B
Makefile
# $NetBSD: Makefile,v 1.3 2005/05/22 20:08:03 jlam 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_PKGLOCALEDIR= yes
|
|
HAS_CONFIGURE= yes
|
|
USE_TOOLS+= gmake
|
|
|
|
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"
|