2012-12-28 22:10:04 +01:00
|
|
|
# Created by: Ade Lovett <ade@FreeBSD.org>
|
2001-02-10 00:19:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libxslt
|
2012-12-28 22:10:04 +01:00
|
|
|
PORTVERSION= 1.1.28
|
|
|
|
PORTREVISION?= 0
|
2004-07-06 05:02:16 +02:00
|
|
|
CATEGORIES?= textproc gnome
|
2012-12-28 22:10:04 +01:00
|
|
|
MASTER_SITES= ftp://gd.tuwien.ac.at/pub/libxml/ \
|
2008-05-24 07:27:36 +02:00
|
|
|
ftp://xmlsoft.org/libxml2/
|
2002-03-11 20:04:17 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
2001-02-10 00:19:44 +01:00
|
|
|
|
2004-07-06 05:11:13 +02:00
|
|
|
MAINTAINER?= gnome@FreeBSD.org
|
|
|
|
COMMENT?= The XSLT C library for GNOME
|
2001-02-10 00:19:44 +01:00
|
|
|
|
2006-05-11 19:36:53 +02:00
|
|
|
.if !defined(REFERENCE_PORT)
|
|
|
|
|
2001-02-10 00:19:44 +01:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-11-05 04:59:12 +01:00
|
|
|
USE_LDCONFIG= yes
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME?= gnomehack libxml2
|
2010-06-02 16:29:15 +02:00
|
|
|
CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \
|
2004-07-06 05:02:16 +02:00
|
|
|
--without-python
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2001-02-10 00:19:44 +01:00
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
LICENSE= MIT
|
|
|
|
|
2004-07-06 05:02:16 +02:00
|
|
|
.if defined(MASTERDIR)
|
|
|
|
_SLAVE_PORT= yes
|
|
|
|
.else
|
2003-07-07 22:38:26 +02:00
|
|
|
MAN3= libexslt.3 libxslt.3
|
2001-10-16 15:33:19 +02:00
|
|
|
MAN1= xsltproc.1
|
2001-09-19 12:21:59 +02:00
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
OPTIONS_DEFINE= MEM_DEBUG CRYPTO
|
|
|
|
OPTIONS_DEFAULT=CRYPTO
|
|
|
|
MEM_DEBUG_DESC= Enable memory debugging
|
|
|
|
CRYPTO_DESC= Enable crypto support for exslt
|
2002-02-26 20:02:58 +01:00
|
|
|
.endif
|
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2004-02-23 19:38:03 +01:00
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
.if ${PORT_OPTIONS:MMEM_DEBUG}
|
2002-09-18 21:18:25 +02:00
|
|
|
CONFIGURE_ARGS+= --with-mem-debug
|
|
|
|
.endif
|
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
.if ${PORT_OPTIONS:MCRYPTO}
|
|
|
|
LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt
|
2009-09-18 21:41:09 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--without-crypto
|
2004-07-06 05:02:16 +02:00
|
|
|
.endif
|
2002-02-26 20:02:58 +01:00
|
|
|
|
2004-01-14 19:17:59 +01:00
|
|
|
post-patch:
|
2006-05-11 19:36:53 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
2004-01-14 19:17:59 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \
|
|
|
|
s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
|
2012-12-28 22:10:04 +01:00
|
|
|
.include <bsd.port.mk>
|
2006-05-11 19:36:53 +02:00
|
|
|
|
|
|
|
.endif
|