aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 17:25:12 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 17:25:12 +0000
commit3fb5ddd6926e5e435a9218f23685ca01b091fc90 (patch)
tree2cadec736fac6d7761c9aa8d113ff3b674b5b365
parente6da2502c556fad1a749327dabb13621713bb191 (diff)
downloadports-3fb5ddd6926e5e435a9218f23685ca01b091fc90.tar.gz
ports-3fb5ddd6926e5e435a9218f23685ca01b091fc90.zip
Notes
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/libxml2-reference/Makefile18
-rw-r--r--textproc/libxml2/Makefile12
-rw-r--r--textproc/libxml2/pkg-plist176
4 files changed, 30 insertions, 177 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 634e7dd3d363..6dedc046023b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -244,6 +244,7 @@
SUBDIR += libxml++
SUBDIR += libxml++26
SUBDIR += libxml2
+ SUBDIR += libxml2-reference
SUBDIR += libxode
SUBDIR += libxslt
SUBDIR += link-grammar
diff --git a/textproc/libxml2-reference/Makefile b/textproc/libxml2-reference/Makefile
new file mode 100644
index 000000000000..2d3f11258a0e
--- /dev/null
+++ b/textproc/libxml2-reference/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../libxml2:configure
+
+PARENT_WRKSRC!= cd ${.CURDIR}/../libxml2 && ${MAKE} -V WRKSRC
+EXTRACT_ONLY=
+USE_GMAKE= yes
+
+EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c
+PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
+PLIST_DIRS= %%EXAMPLESDIR%%
+
+do-install:
+.for d in . doc doc/devhelp doc/examples
+ @cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install-data-local
+.endfor
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile
index 874dbd2f9168..761e78d5abbd 100644
--- a/textproc/libxml2/Makefile
+++ b/textproc/libxml2/Makefile
@@ -13,7 +13,6 @@
PORTNAME= libxml2
PORTVERSION= 2.6.24
-PORTREVISION?= 0
CATEGORIES?= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6
@@ -23,6 +22,11 @@ MAINTAINER?= gnome@FreeBSD.org
COMMENT?= XML parser library for GNOME
USE_BZIP2= yes
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION?= 1
+
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
@@ -64,6 +68,10 @@ CONFIGURE_ARGS+= --with-thread-alloc
.endif
post-patch:
+.for d in . doc doc/devhelp doc/examples
+ @${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
+ ${WRKSRC}/${d}/Makefile.in
+.endfor
.for f in catalog.c xmlcatalog.c xmllint.c doc/xmllint.1
@${REINPLACE_CMD} -e \
's|/etc/xml/catalog|${LOCALBASE}/share/xml/catalog|g; \
@@ -71,3 +79,5 @@ post-patch:
.endfor
.include <bsd.port.mk>
+
+.endif
diff --git a/textproc/libxml2/pkg-plist b/textproc/libxml2/pkg-plist
index 5ce3cd6a305a..c1e7fae18fcc 100644
--- a/textproc/libxml2/pkg-plist
+++ b/textproc/libxml2/pkg-plist
@@ -55,181 +55,5 @@ lib/libxml2.so
lib/libxml2.so.5
libdata/pkgconfig/libxml-2.0.pc
share/aclocal/libxml.m4
-%%DOCSDIR%%/Copyright
-%%DOCSDIR%%/DOM.gif
-%%DOCSDIR%%/FAQ.html
-%%DOCSDIR%%/Libxml2-Logo-180x168.gif
-%%DOCSDIR%%/Libxml2-Logo-90x34.gif
-%%DOCSDIR%%/encoding.html
-%%DOCSDIR%%/html/book1.html
-%%DOCSDIR%%/html/general.html
-%%DOCSDIR%%/html/home.png
-%%DOCSDIR%%/html/index.html
-%%DOCSDIR%%/html/left.png
-%%DOCSDIR%%/html/libxml-DOCBparser.html
-%%DOCSDIR%%/html/libxml-HTMLparser.html
-%%DOCSDIR%%/html/libxml-HTMLtree.html
-%%DOCSDIR%%/html/libxml-SAX.html
-%%DOCSDIR%%/html/libxml-SAX2.html
-%%DOCSDIR%%/html/libxml-c14n.html
-%%DOCSDIR%%/html/libxml-catalog.html
-%%DOCSDIR%%/html/libxml-chvalid.html
-%%DOCSDIR%%/html/libxml-debugXML.html
-%%DOCSDIR%%/html/libxml-dict.html
-%%DOCSDIR%%/html/libxml-encoding.html
-%%DOCSDIR%%/html/libxml-entities.html
-%%DOCSDIR%%/html/libxml-globals.html
-%%DOCSDIR%%/html/libxml-hash.html
-%%DOCSDIR%%/html/libxml-lib.html
-%%DOCSDIR%%/html/libxml-list.html
-%%DOCSDIR%%/html/libxml-nanoftp.html
-%%DOCSDIR%%/html/libxml-nanohttp.html
-%%DOCSDIR%%/html/libxml-parser.html
-%%DOCSDIR%%/html/libxml-parserInternals.html
-%%DOCSDIR%%/html/libxml-pattern.html
-%%DOCSDIR%%/html/libxml-relaxng.html
-%%DOCSDIR%%/html/libxml-schemasInternals.html
-%%DOCSDIR%%/html/libxml-schematron.html
-%%DOCSDIR%%/html/libxml-threads.html
-%%DOCSDIR%%/html/libxml-tree.html
-%%DOCSDIR%%/html/libxml-uri.html
-%%DOCSDIR%%/html/libxml-valid.html
-%%DOCSDIR%%/html/libxml-xinclude.html
-%%DOCSDIR%%/html/libxml-xlink.html
-%%DOCSDIR%%/html/libxml-xmlIO.html
-%%DOCSDIR%%/html/libxml-xmlautomata.html
-%%DOCSDIR%%/html/libxml-xmlerror.html
-%%DOCSDIR%%/html/libxml-xmlexports.html
-%%DOCSDIR%%/html/libxml-xmlmemory.html
-%%DOCSDIR%%/html/libxml-xmlmodule.html
-%%DOCSDIR%%/html/libxml-xmlreader.html
-%%DOCSDIR%%/html/libxml-xmlregexp.html
-%%DOCSDIR%%/html/libxml-xmlsave.html
-%%DOCSDIR%%/html/libxml-xmlschemas.html
-%%DOCSDIR%%/html/libxml-xmlschemastypes.html
-%%DOCSDIR%%/html/libxml-xmlstring.html
-%%DOCSDIR%%/html/libxml-xmlunicode.html
-%%DOCSDIR%%/html/libxml-xmlversion.html
-%%DOCSDIR%%/html/libxml-xmlwriter.html
-%%DOCSDIR%%/html/libxml-xpath.html
-%%DOCSDIR%%/html/libxml-xpathInternals.html
-%%DOCSDIR%%/html/libxml-xpointer.html
-%%DOCSDIR%%/html/libxml2-DOCBparser.html
-%%DOCSDIR%%/html/libxml2-HTMLparser.html
-%%DOCSDIR%%/html/libxml2-HTMLtree.html
-%%DOCSDIR%%/html/libxml2-SAX.html
-%%DOCSDIR%%/html/libxml2-SAX2.html
-%%DOCSDIR%%/html/libxml2-c14n.html
-%%DOCSDIR%%/html/libxml2-catalog.html
-%%DOCSDIR%%/html/libxml2-chvalid.html
-%%DOCSDIR%%/html/libxml2-debugXML.html
-%%DOCSDIR%%/html/libxml2-dict.html
-%%DOCSDIR%%/html/libxml2-encoding.html
-%%DOCSDIR%%/html/libxml2-entities.html
-%%DOCSDIR%%/html/libxml2-globals.html
-%%DOCSDIR%%/html/libxml2-hash.html
-%%DOCSDIR%%/html/libxml2-list.html
-%%DOCSDIR%%/html/libxml2-nanoftp.html
-%%DOCSDIR%%/html/libxml2-nanohttp.html
-%%DOCSDIR%%/html/libxml2-parser.html
-%%DOCSDIR%%/html/libxml2-parserInternals.html
-%%DOCSDIR%%/html/libxml2-pattern.html
-%%DOCSDIR%%/html/libxml2-relaxng.html
-%%DOCSDIR%%/html/libxml2-schemasInternals.html
-%%DOCSDIR%%/html/libxml2-schematron.html
-%%DOCSDIR%%/html/libxml2-threads.html
-%%DOCSDIR%%/html/libxml2-tree.html
-%%DOCSDIR%%/html/libxml2-uri.html
-%%DOCSDIR%%/html/libxml2-valid.html
-%%DOCSDIR%%/html/libxml2-xinclude.html
-%%DOCSDIR%%/html/libxml2-xlink.html
-%%DOCSDIR%%/html/libxml2-xmlIO.html
-%%DOCSDIR%%/html/libxml2-xmlautomata.html
-%%DOCSDIR%%/html/libxml2-xmlerror.html
-%%DOCSDIR%%/html/libxml2-xmlexports.html
-%%DOCSDIR%%/html/libxml2-xmlmemory.html
-%%DOCSDIR%%/html/libxml2-xmlmodule.html
-%%DOCSDIR%%/html/libxml2-xmlreader.html
-%%DOCSDIR%%/html/libxml2-xmlregexp.html
-%%DOCSDIR%%/html/libxml2-xmlsave.html
-%%DOCSDIR%%/html/libxml2-xmlschemas.html
-%%DOCSDIR%%/html/libxml2-xmlschemastypes.html
-%%DOCSDIR%%/html/libxml2-xmlstring.html
-%%DOCSDIR%%/html/libxml2-xmlunicode.html
-%%DOCSDIR%%/html/libxml2-xmlversion.html
-%%DOCSDIR%%/html/libxml2-xmlwriter.html
-%%DOCSDIR%%/html/libxml2-xpath.html
-%%DOCSDIR%%/html/libxml2-xpathInternals.html
-%%DOCSDIR%%/html/libxml2-xpointer.html
-%%DOCSDIR%%/html/libxml2.devhelp
-%%DOCSDIR%%/html/right.png
-%%DOCSDIR%%/html/style.css
-%%DOCSDIR%%/html/up.png
-%%DOCSDIR%%/libxml.gif
-%%DOCSDIR%%/redhat.gif
-%%DOCSDIR%%/smallfootonly.gif
-%%DOCSDIR%%/structure.gif
-%%DOCSDIR%%/tutorial/apa.html
-%%DOCSDIR%%/tutorial/apb.html
-%%DOCSDIR%%/tutorial/apc.html
-%%DOCSDIR%%/tutorial/apd.html
-%%DOCSDIR%%/tutorial/ape.html
-%%DOCSDIR%%/tutorial/apf.html
-%%DOCSDIR%%/tutorial/apg.html
-%%DOCSDIR%%/tutorial/aph.html
-%%DOCSDIR%%/tutorial/api.html
-%%DOCSDIR%%/tutorial/ar01s02.html
-%%DOCSDIR%%/tutorial/ar01s03.html
-%%DOCSDIR%%/tutorial/ar01s04.html
-%%DOCSDIR%%/tutorial/ar01s05.html
-%%DOCSDIR%%/tutorial/ar01s06.html
-%%DOCSDIR%%/tutorial/ar01s07.html
-%%DOCSDIR%%/tutorial/ar01s08.html
-%%DOCSDIR%%/tutorial/ar01s09.html
-%%DOCSDIR%%/tutorial/images/blank.png
-%%DOCSDIR%%/tutorial/images/callouts/1.png
-%%DOCSDIR%%/tutorial/images/callouts/10.png
-%%DOCSDIR%%/tutorial/images/callouts/2.png
-%%DOCSDIR%%/tutorial/images/callouts/3.png
-%%DOCSDIR%%/tutorial/images/callouts/4.png
-%%DOCSDIR%%/tutorial/images/callouts/5.png
-%%DOCSDIR%%/tutorial/images/callouts/6.png
-%%DOCSDIR%%/tutorial/images/callouts/7.png
-%%DOCSDIR%%/tutorial/images/callouts/8.png
-%%DOCSDIR%%/tutorial/images/callouts/9.png
-%%DOCSDIR%%/tutorial/images/caution.png
-%%DOCSDIR%%/tutorial/images/draft.png
-%%DOCSDIR%%/tutorial/images/home.png
-%%DOCSDIR%%/tutorial/images/important.png
-%%DOCSDIR%%/tutorial/images/next.png
-%%DOCSDIR%%/tutorial/images/note.png
-%%DOCSDIR%%/tutorial/images/prev.png
-%%DOCSDIR%%/tutorial/images/tip.png
-%%DOCSDIR%%/tutorial/images/toc-blank.png
-%%DOCSDIR%%/tutorial/images/toc-minus.png
-%%DOCSDIR%%/tutorial/images/toc-plus.png
-%%DOCSDIR%%/tutorial/images/up.png
-%%DOCSDIR%%/tutorial/images/warning.png
-%%DOCSDIR%%/tutorial/includeaddattribute.c
-%%DOCSDIR%%/tutorial/includeaddkeyword.c
-%%DOCSDIR%%/tutorial/includeconvert.c
-%%DOCSDIR%%/tutorial/includegetattribute.c
-%%DOCSDIR%%/tutorial/includekeyword.c
-%%DOCSDIR%%/tutorial/includexpath.c
-%%DOCSDIR%%/tutorial/index.html
-%%DOCSDIR%%/tutorial/ix01.html
-%%DOCSDIR%%/tutorial/xmltutorial.pdf
-%%DOCSDIR%%/w3c.png
-%%DOCSDIR%%/xml.html
-%%EXAMPLESDIR%%/testHTML.c
-%%EXAMPLESDIR%%/testSAX.c
-%%EXAMPLESDIR%%/testXPath.c
-%%EXAMPLESDIR%%/xmllint.c
-@dirrm %%EXAMPLESDIR%%
-@dirrm %%DOCSDIR%%/tutorial/images/callouts
-@dirrm %%DOCSDIR%%/tutorial/images
-@dirrm %%DOCSDIR%%/tutorial
-@dirrm %%DOCSDIR%%/html
-@dirrm %%DOCSDIR%%
@dirrm include/libxml2/libxml
@dirrm include/libxml2