2008-06-20 03:09:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.41 2008/06/20 01:09:38 joerg Exp $
|
2001-06-25 19:27:34 +02:00
|
|
|
|
2005-06-06 22:14:43 +02:00
|
|
|
DISTNAME= Sablot-1.0.2
|
2003-08-29 17:29:29 +02:00
|
|
|
PKGNAME= ${DISTNAME:S/Sablot/sablotron/}
|
2007-01-05 14:48:14 +01:00
|
|
|
PKGREVISION= 4
|
2001-06-25 19:27:34 +02:00
|
|
|
CATEGORIES= textproc
|
2004-05-09 06:56:45 +02:00
|
|
|
MASTER_SITES= http://download-1.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
|
|
|
|
2008-06-20 03:09:05 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2004-01-25 16:29:51 +01:00
|
|
|
BUILD_DEPENDS+= p5-XML-Parser-[0-9]*:../../textproc/p5-XML-Parser
|
|
|
|
|
2007-02-22 20:26:05 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2006-07-10 09:59:02 +02:00
|
|
|
USE_TOOLS+= gmake perl
|
2004-03-06 12:44:59 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2001-06-25 19:27:34 +02:00
|
|
|
USE_LIBTOOL= YES
|
2006-04-13 00:52:34 +02:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/sablotron
|
2001-06-25 19:27:34 +02:00
|
|
|
|
2003-07-24 15:35:28 +02:00
|
|
|
# sablotron needs iconv but assumes it is in libc, so add what
|
2004-07-07 00:57:48 +02:00
|
|
|
# buildlink3 finds.
|
2004-04-25 02:50:46 +02:00
|
|
|
LIBS+= ${_BUILDLINK_LDADD.iconv}
|
2003-07-24 15:35:28 +02:00
|
|
|
|
2004-02-18 14:33:40 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
2003-07-18 13:14:43 +02:00
|
|
|
|
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?
|
2004-02-09 20:57:54 +01:00
|
|
|
.if !empty(PKGSRC_COMPILER:Msunpro)
|
2003-07-18 14:39:17 +02:00
|
|
|
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
|
|
|
|
2004-04-25 02:50:46 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
2002-08-25 20:38:05 +02:00
|
|
|
|
2001-06-25 19:27:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|