aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libxslt-reference/Makefile12
-rw-r--r--textproc/libxslt/Makefile10
-rw-r--r--textproc/libxslt/pkg-plist89
4 files changed, 22 insertions, 90 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6dedc046023b..3e66211a0278 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -247,6 +247,7 @@
SUBDIR += libxml2-reference
SUBDIR += libxode
SUBDIR += libxslt
+ SUBDIR += libxslt-reference
SUBDIR += link-grammar
SUBDIR += linux-aspell
SUBDIR += linux-expat
diff --git a/textproc/libxslt-reference/Makefile b/textproc/libxslt-reference/Makefile
new file mode 100644
index 000000000000..a06482576a49
--- /dev/null
+++ b/textproc/libxslt-reference/Makefile
@@ -0,0 +1,12 @@
+# $FreeBSD$
+
+BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../libxslt:configure
+
+PARENT_WRKSRC!= cd ${.CURDIR}/../libxslt && ${MAKE} -V WRKSRC
+EXTRACT_ONLY=
+USE_GMAKE= yes
+
+do-install:
+ @cd ${PARENT_WRKSRC}/doc && ${GMAKE} install-data-local
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 0f2a50a272e4..ff4acb935728 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -7,7 +7,6 @@
PORTNAME= libxslt
PORTVERSION= 1.1.16
-PORTREVISION?= 1
CATEGORIES?= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.1
@@ -17,6 +16,11 @@ MAINTAINER?= gnome@FreeBSD.org
COMMENT?= The XSLT C library for GNOME
USE_BZIP2= yes
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION?= 2
+
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
@@ -60,8 +64,12 @@ pre-everything::
.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.post.mk>
+
+.endif
diff --git a/textproc/libxslt/pkg-plist b/textproc/libxslt/pkg-plist
index dbe3b2127980..18c451272dc6 100644
--- a/textproc/libxslt/pkg-plist
+++ b/textproc/libxslt/pkg-plist
@@ -36,95 +36,6 @@ lib/libxslt.so.2
libdata/pkgconfig/libexslt.pc
libdata/pkgconfig/libxslt.pc
share/aclocal/libxslt.m4
-%%DOCSDIR%%/html/API.html
-%%DOCSDIR%%/html/APIchunk0.html
-%%DOCSDIR%%/html/APIchunk1.html
-%%DOCSDIR%%/html/APIchunk2.html
-%%DOCSDIR%%/html/APIchunk3.html
-%%DOCSDIR%%/html/APIchunk4.html
-%%DOCSDIR%%/html/APIchunk5.html
-%%DOCSDIR%%/html/APIchunk6.html
-%%DOCSDIR%%/html/APIchunk7.html
-%%DOCSDIR%%/html/APIchunk8.html
-%%DOCSDIR%%/html/APIchunk9.html
-%%DOCSDIR%%/html/APIconstructors.html
-%%DOCSDIR%%/html/APIfiles.html
-%%DOCSDIR%%/html/APIfunctions.html
-%%DOCSDIR%%/html/APIsymbols.html
-%%DOCSDIR%%/html/EXSLT/APIchunk0.html
-%%DOCSDIR%%/html/EXSLT/APIconstructors.html
-%%DOCSDIR%%/html/EXSLT/APIfiles.html
-%%DOCSDIR%%/html/EXSLT/APIfunctions.html
-%%DOCSDIR%%/html/EXSLT/APIsymbols.html
-%%DOCSDIR%%/html/EXSLT/bugs.html
-%%DOCSDIR%%/html/EXSLT/docs.html
-%%DOCSDIR%%/html/EXSLT/downloads.html
-%%DOCSDIR%%/html/EXSLT/exslt.html
-%%DOCSDIR%%/html/EXSLT/help.html
-%%DOCSDIR%%/html/EXSLT/index.html
-%%DOCSDIR%%/html/EXSLT/intro.html
-%%DOCSDIR%%/html/FAQ.html
-%%DOCSDIR%%/html/Libxslt-Logo-180x168.gif
-%%DOCSDIR%%/html/Libxslt-Logo-90x34.gif
-%%DOCSDIR%%/html/book1.html
-%%DOCSDIR%%/html/bugs.html
-%%DOCSDIR%%/html/contexts.gif
-%%DOCSDIR%%/html/contribs.html
-%%DOCSDIR%%/html/docbook.html
-%%DOCSDIR%%/html/docs.html
-%%DOCSDIR%%/html/downloads.html
-%%DOCSDIR%%/html/extensions.html
-%%DOCSDIR%%/html/help.html
-%%DOCSDIR%%/html/home.png
-%%DOCSDIR%%/html/index.html
-%%DOCSDIR%%/html/internals.html
-%%DOCSDIR%%/html/intro.html
-%%DOCSDIR%%/html/left.png
-%%DOCSDIR%%/html/libxslt-attributes.html
-%%DOCSDIR%%/html/libxslt-documents.html
-%%DOCSDIR%%/html/libxslt-extensions.html
-%%DOCSDIR%%/html/libxslt-extra.html
-%%DOCSDIR%%/html/libxslt-functions.html
-%%DOCSDIR%%/html/libxslt-imports.html
-%%DOCSDIR%%/html/libxslt-keys.html
-%%DOCSDIR%%/html/libxslt-lib.html
-%%DOCSDIR%%/html/libxslt-namespaces.html
-%%DOCSDIR%%/html/libxslt-numbersInternals.html
-%%DOCSDIR%%/html/libxslt-pattern.html
-%%DOCSDIR%%/html/libxslt-preproc.html
-%%DOCSDIR%%/html/libxslt-security.html
-%%DOCSDIR%%/html/libxslt-templates.html
-%%DOCSDIR%%/html/libxslt-transform.html
-%%DOCSDIR%%/html/libxslt-variables.html
-%%DOCSDIR%%/html/libxslt-xslt.html
-%%DOCSDIR%%/html/libxslt-xsltInternals.html
-%%DOCSDIR%%/html/libxslt-xsltexports.html
-%%DOCSDIR%%/html/libxslt-xsltutils.html
-%%DOCSDIR%%/html/news.html
-%%DOCSDIR%%/html/node.gif
-%%DOCSDIR%%/html/object.gif
-%%DOCSDIR%%/html/processing.gif
-%%DOCSDIR%%/html/python.html
-%%DOCSDIR%%/html/redhat.gif
-%%DOCSDIR%%/html/right.png
-%%DOCSDIR%%/html/smallfootonly.gif
-%%DOCSDIR%%/html/stylesheet.gif
-%%DOCSDIR%%/html/templates.gif
-%%DOCSDIR%%/html/tutorial/libxslt_tutorial.c
-%%DOCSDIR%%/html/tutorial/libxslttutorial.html
-%%DOCSDIR%%/html/tutorial/libxslttutorial.xml
-%%DOCSDIR%%/html/tutorial2/libxslt_pipes.c
-%%DOCSDIR%%/html/tutorial2/libxslt_pipes.html
-%%DOCSDIR%%/html/tutorial2/libxslt_pipes.xml
-%%DOCSDIR%%/html/up.png
-%%DOCSDIR%%/html/xslt.html
-%%DOCSDIR%%/html/xsltproc.html
-%%DOCSDIR%%/html/xsltproc2.html
-@dirrm %%DOCSDIR%%/html/tutorial2
-@dirrm %%DOCSDIR%%/html/tutorial
-@dirrm %%DOCSDIR%%/html/EXSLT
-@dirrm %%DOCSDIR%%/html
-@dirrm %%DOCSDIR%%
@dirrmtry lib/libxslt-plugins
@dirrm include/libxslt
@dirrm include/libexslt