diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-23 01:51:55 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2012-10-23 01:51:55 +0800 |
commit | 9a5913e4bb2544726ad0d18d22199de8a87581f9 (patch) | |
tree | 45aed4ce93e8cdc1dd2d800c62dfe82ec0efde2c /textproc | |
parent | 8a468eb6dc8463714acdc54213882b9f0047d0dd (diff) | |
download | marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar.gz marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar.bz2 marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar.lz marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar.xz marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.tar.zst marcuscom-ports-9a5913e4bb2544726ad0d18d22199de8a87581f9.zip |
Update to 1.1.27.
Convert to OptionsNG, Update header.
This was put in MC because ports is in slush.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@17137 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/libxslt/Makefile | 59 | ||||
-rw-r--r-- | textproc/libxslt/distinfo | 2 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-aa | 12 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-ab | 8 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-configure | 25 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-python::Makefile.in | 22 | ||||
-rw-r--r-- | textproc/libxslt/files/patch-python::tests::Makefile.in | 11 | ||||
-rw-r--r-- | textproc/libxslt/pkg-descr | 10 | ||||
-rw-r--r-- | textproc/libxslt/pkg-plist | 42 |
9 files changed, 191 insertions, 0 deletions
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile new file mode 100644 index 000000000..eda8aa9f6 --- /dev/null +++ b/textproc/libxslt/Makefile @@ -0,0 +1,59 @@ +# Created by: Ade Lovett <ade@FreeBSD.org> +# $FreeBSD: head/textproc/libxslt/Makefile 300897 2012-07-14 14:29:18Z beat $ + +PORTNAME= libxslt +PORTVERSION= 1.1.27 +PORTREVISION?= 0 +CATEGORIES?= textproc gnome +MASTER_SITES= ftp://gd.tuwien.ac.at/pub/libxml/ \ + ftp://xmlsoft.org/libxml2/ +DIST_SUBDIR= gnome2 + +MAINTAINER?= gnome@FreeBSD.org +COMMENT?= The XSLT C library for GNOME + +.if !defined(REFERENCE_PORT) + +USE_GMAKE= yes +GNU_CONFIGURE= yes +USE_LDCONFIG= yes +USE_GNOME?= gnomehack libxml2 +CONFIGURE_ARGS?=--with-html-dir=${PREFIX}/share/doc \ + --without-python +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib + +.if defined(MASTERDIR) +_SLAVE_PORT= yes +.else +MAN3= libexslt.3 libxslt.3 +MAN1= xsltproc.1 + +OPTIONS_DEFINE= MEM_DEBUG CRYPTO +OPTIONS_DEFAULT=CRYPTO +MEM_DEBUG_DESC= Enable memory debugging +CRYPTO_DESC= Enable crypto support for exslt +.endif + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MMEM_DEBUG} +CONFIGURE_ARGS+= --with-mem-debug +.endif + +.if ${PORT_OPTIONS:MCRYPTO} +LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt +.else +CONFIGURE_ARGS+=--without-crypto +.endif + +post-patch: + @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \ + ${WRKSRC}/doc/Makefile.in + @${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \ + s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \ + ${WRKSRC}/doc/Makefile.in + +.include <bsd.port.mk> + +.endif diff --git a/textproc/libxslt/distinfo b/textproc/libxslt/distinfo new file mode 100644 index 000000000..7d53b86b0 --- /dev/null +++ b/textproc/libxslt/distinfo @@ -0,0 +1,2 @@ +SHA256 (gnome2/libxslt-1.1.27.tar.gz) = b6a8d9a421f2630999ca91d9f8c091ee8ea2d580e6be84c1d21b2a45e11e7e26 +SIZE (gnome2/libxslt-1.1.27.tar.gz) = 3427310 diff --git a/textproc/libxslt/files/patch-aa b/textproc/libxslt/files/patch-aa new file mode 100644 index 000000000..3abe36878 --- /dev/null +++ b/textproc/libxslt/files/patch-aa @@ -0,0 +1,12 @@ +--- Makefile.in.orig 2012-10-22 16:13:46.000000000 +0000 ++++ Makefile.in 2012-10-22 16:14:29.000000000 +0000 +@@ -327,8 +327,7 @@ + libexslt \ + xsltproc \ + doc \ +- $(PYTHON_SUBDIR) \ +- tests ++ $(PYTHON_SUBDIR) + + DIST_SUBDIRS = libxslt libexslt xsltproc python doc tests + confexecdir = $(libdir) diff --git a/textproc/libxslt/files/patch-ab b/textproc/libxslt/files/patch-ab new file mode 100644 index 000000000..9e1b2046a --- /dev/null +++ b/textproc/libxslt/files/patch-ab @@ -0,0 +1,8 @@ +--- libxslt/xsltconfig.h.in.orig Mon Mar 26 20:55:08 2001 ++++ libxslt/xsltconfig.h.in Thu Apr 19 22:20:46 2001 +@@ -23,3 +23,5 @@ + #ifdef __GNUC__ ++#ifndef __FreeBSD__ + #include <ansidecl.h> ++#endif + #ifndef ATTRIBUTE_UNUSED diff --git a/textproc/libxslt/files/patch-configure b/textproc/libxslt/files/patch-configure new file mode 100644 index 000000000..67348399d --- /dev/null +++ b/textproc/libxslt/files/patch-configure @@ -0,0 +1,25 @@ +--- configure.orig 2009-09-18 15:31:26.000000000 -0400 ++++ configure 2009-09-18 15:35:31.000000000 -0400 +@@ -4770,7 +4770,7 @@ fi + if test "${with_html_subdir+set}" = set; then + withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval" + else +- HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html" ++ HTML_DIR="$HTML_DIR/\$(PACKAGE)" + fi + + +@@ -15572,11 +15572,12 @@ except: print 0"` + fi + if test "$PYTHON_VERSION" != "" + then ++ with_python=`$PYTHON -c "import sys; print sys.exec_prefix"` + if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ + -d $with_python/lib/python$PYTHON_VERSION/site-packages + then + PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION +- PYTHON_SITE_PACKAGES='$(libdir)/python$(PYTHON_VERSION)/site-packages' ++ PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages + else + if test -r $prefix/include/python$PYTHON_VERSION/Python.h + then diff --git a/textproc/libxslt/files/patch-python::Makefile.in b/textproc/libxslt/files/patch-python::Makefile.in new file mode 100644 index 000000000..dbd7d8e76 --- /dev/null +++ b/textproc/libxslt/files/patch-python::Makefile.in @@ -0,0 +1,22 @@ +--- python/Makefile.in.orig 2012-10-22 16:16:50.000000000 +0000 ++++ python/Makefile.in 2012-10-22 16:17:40.000000000 +0000 +@@ -344,7 +344,7 @@ + -I../libexslt + + AM_CFLAGS = $(LIBXML_CFLAGS) +-DOCS_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION) ++DOCS_DIR = $(datadir)/doc/py-libxslt + # libxsltclass.txt is generated + DOCS = TODO + EXTRA_DIST = \ +@@ -359,8 +359,8 @@ + + libxsltmod_la_LDFLAGS = $(WIN32_EXTRA_LDFLAGS) -module -avoid-version + @WITH_PYTHON_TRUE@mylibs = \ +-@WITH_PYTHON_TRUE@ $(top_builddir)/libxslt/libxslt.la \ +-@WITH_PYTHON_TRUE@ $(top_builddir)/libexslt/libexslt.la ++@WITH_PYTHON_TRUE@ -lxslt \ ++@WITH_PYTHON_TRUE@ -lexslt + + @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxsltmod.la + @WITH_PYTHON_TRUE@libxsltmod_la_SOURCES = libxslt.c types.c diff --git a/textproc/libxslt/files/patch-python::tests::Makefile.in b/textproc/libxslt/files/patch-python::tests::Makefile.in new file mode 100644 index 000000000..385552556 --- /dev/null +++ b/textproc/libxslt/files/patch-python::tests::Makefile.in @@ -0,0 +1,11 @@ +--- python/tests/Makefile.in.orig 2008-05-23 23:11:10.000000000 -0500 ++++ python/tests/Makefile.in 2008-05-23 23:11:33.000000000 -0500 +@@ -204,7 +204,7 @@ + target_alias = @target_alias@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-EXAMPLE_DIR = $(datadir)/doc/libxslt-python-$(LIBXSLT_VERSION)/examples ++EXAMPLE_DIR = $(datadir)/examples/py-libxslt + TESTSPY = \ + basic.py \ + exslt.py \ diff --git a/textproc/libxslt/pkg-descr b/textproc/libxslt/pkg-descr new file mode 100644 index 000000000..e79de6b05 --- /dev/null +++ b/textproc/libxslt/pkg-descr @@ -0,0 +1,10 @@ +Libxslt is the XSLT C library developed for the GNOME project. XSLT itself is +a an XML language to define transformation for XML. Libxslt is based on +libxml2, the XML C library developed for the GNOME project. It also implements +most of the EXSLT set of processor-portable extensions functions and some of +Saxon's evaluate and expressions extensions. + +People can either embed the library in their application or use xsltproc the +command line processing tool. + +WWW: http://xmlsoft.org/XSLT/ diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist new file mode 100644 index 000000000..23a4084c7 --- /dev/null +++ b/textproc/libxslt/pkg-plist @@ -0,0 +1,42 @@ +bin/xslt-config +bin/xsltproc +include/libexslt/exslt.h +include/libexslt/exsltconfig.h +include/libexslt/exsltexports.h +include/libxslt/attributes.h +include/libxslt/documents.h +include/libxslt/extensions.h +include/libxslt/extra.h +include/libxslt/functions.h +include/libxslt/imports.h +include/libxslt/keys.h +include/libxslt/namespaces.h +include/libxslt/numbersInternals.h +include/libxslt/pattern.h +include/libxslt/preproc.h +include/libxslt/security.h +include/libxslt/templates.h +include/libxslt/transform.h +include/libxslt/variables.h +include/libxslt/xslt.h +include/libxslt/xsltInternals.h +include/libxslt/xsltconfig.h +include/libxslt/xsltexports.h +include/libxslt/xsltlocale.h +include/libxslt/xsltutils.h +lib/libexslt.a +lib/libexslt.la +lib/libexslt.so +lib/libexslt.so.8 +lib/libxslt.a +lib/libxslt.la +lib/libxslt.so +lib/libxslt.so.2 +lib/xsltConf.sh +@exec mkdir -p %D/lib/libxslt-plugins +libdata/pkgconfig/libexslt.pc +libdata/pkgconfig/libxslt.pc +share/aclocal/libxslt.m4 +@dirrmtry lib/libxslt-plugins +@dirrm include/libxslt +@dirrm include/libexslt |