2003-10-15 17:16:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.20 2003/10/15 15:16:32 jwise Exp $
|
2001-06-25 19:27:34 +02:00
|
|
|
|
2003-08-29 17:29:29 +02:00
|
|
|
DISTNAME= Sablot-1.0
|
|
|
|
PKGNAME= ${DISTNAME:S/Sablot/sablotron/}
|
2003-10-11 15:40:19 +02:00
|
|
|
PKGREVISION= 1
|
2001-06-25 19:27:34 +02:00
|
|
|
CATEGORIES= textproc
|
2002-01-01 04:11:17 +01:00
|
|
|
MASTER_SITES= http://download-2.gingerall.cz/download/sablot/
|
2001-06-25 19:27:34 +02:00
|
|
|
|
|
|
|
MAINTAINER= uithuis@dds.nl
|
2002-01-01 04:11:17 +01:00
|
|
|
HOMEPAGE= http://www.gingerall.com/charlie/ga/xml/p_sab.xml
|
|
|
|
COMMENT= XML toolkit implementing XSLT, DOM, and XPath
|
2001-06-25 19:27:34 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2003-05-30 01:14:07 +02:00
|
|
|
USE_GCC_SHLIB= YES
|
2001-06-25 19:27:34 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_GMAKE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2003-05-27 07:09:11 +02:00
|
|
|
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
|
|
|
|
2003-07-24 15:35:28 +02:00
|
|
|
# sablotron needs iconv but assumes it is in libc, so add what
|
|
|
|
# buildlink2 finds.
|
|
|
|
LIBS+= ${_BLNK_ICONV_LDFLAGS}
|
|
|
|
|
2003-07-18 13:14:43 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2003-07-18 14:39:17 +02:00
|
|
|
# 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.
|
2003-09-27 12:10:34 +02:00
|
|
|
#
|
|
|
|
# XXX any extra libs needed on IRIX?
|
2003-07-18 14:39:17 +02:00
|
|
|
.if defined(USE_SUNPRO)
|
|
|
|
LIBS+= -lCrun -lm
|
2003-09-27 12:10:34 +02:00
|
|
|
.elif !empty(CC_VERSION:Mgcc-2*)
|
2003-07-18 14:39:17 +02:00
|
|
|
LIBS+= -lstdc++ -lm
|
2003-09-27 12:10:34 +02:00
|
|
|
.elif !empty(CC_VERSION:Mgcc-3*)
|
2003-10-15 17:16:32 +02:00
|
|
|
LIBS+= -lstdc++ -lm
|
2003-07-18 13:14:43 +02:00
|
|
|
.endif
|
2003-05-27 07:09:11 +02:00
|
|
|
|
2002-08-25 20:38:05 +02:00
|
|
|
.include "../../converters/libiconv/buildlink2.mk"
|
|
|
|
.include "../../textproc/expat/buildlink2.mk"
|
|
|
|
|
2001-06-25 19:27:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|