pkgsrc/textproc/sablotron/Makefile
jlam 3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00

42 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.25 2004/02/14 17:21:53 jlam Exp $
DISTNAME= Sablot-1.0.1
PKGNAME= ${DISTNAME:S/Sablot/sablotron/}
CATEGORIES= textproc
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
MAINTAINER= uithuis@dds.nl
HOMEPAGE= http://www.gingerall.com/charlie/ga/xml/p_sab.xml
COMMENT= XML toolkit implementing XSLT, DOM, and XPath
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
USE_BUILDLINK2= YES
USE_GCC_SHLIB= YES
GNU_CONFIGURE= YES
USE_GNU_TOOLS+= make
USE_LIBTOOL= YES
# sablotron needs iconv but assumes it is in libc, so add what
# buildlink2 finds.
LIBS+= ${_BLNK_ICONV_LDFLAGS}
.include "../../mk/bsd.prefs.mk"
# both libstdc++ and libm are required for gcc 2.95.x, as libstdc++
# does not include the math functions. gcc3 only needs libstdc++.
# SunPro needs libCrun and libm.
#
# XXX any extra libs needed on IRIX?
.if !empty(PKGSRC_COMPILER:Msunpro)
LIBS+= -lCrun -lm
.elif !empty(CC_VERSION:Mgcc-2*)
LIBS+= -lstdc++ -lm
.elif !empty(CC_VERSION:Mgcc-3*)
LIBS+= -lstdc++ -lm
.endif
.include "../../converters/libiconv/buildlink2.mk"
.include "../../textproc/expat/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"