diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-27 21:08:55 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-01-27 21:08:55 +0000 |
commit | cef048fb715478f3d5b3c7b4f96d4b0b3ffc710d (patch) | |
tree | 84135454e27b5f9fbf21d06b72a91a2ab2c93d66 /textproc/gdome2 | |
parent | fc6750fe4f058fd44e2a20141df2603768c6a271 (diff) | |
download | ports-cef048fb715478f3d5b3c7b4f96d4b0b3ffc710d.tar.gz ports-cef048fb715478f3d5b3c7b4f96d4b0b3ffc710d.zip |
Convert to staging.
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=341452
Diffstat (limited to 'textproc/gdome2')
-rw-r--r-- | textproc/gdome2/Makefile | 19 | ||||
-rw-r--r-- | textproc/gdome2/pkg-plist | 51 |
2 files changed, 18 insertions, 52 deletions
diff --git a/textproc/gdome2/Makefile b/textproc/gdome2/Makefile index 9b941dd48287..4e493ab58980 100644 --- a/textproc/gdome2/Makefile +++ b/textproc/gdome2/Makefile @@ -10,24 +10,25 @@ MASTER_SITES= http://gdome2.cs.unibo.it/tarball/ MAINTAINER= ports@FreeBSD.org COMMENT= Gnome DOM Engine -LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 - -USE_AUTOTOOLS= libtool USES= pathfix pkgconfig -USE_GNOME= glib20 +USE_AUTOTOOLS= libtool +USE_GNOME= glib20 libxml2 GNU_CONFIGURE= yes CONFIGURE_ENV= GLIB_CONFIG="${LOCALBASE}/bin/pkg-config glib-2.0" CPPFLAGS+= -I${LOCALBASE}/include -PLIST_SUB= DOCSDIR="share/doc/${DISTNAME}" +DOCSDIR= ${PREFIX}/share/doc/${DISTNAME} USE_LDCONFIG= yes -MAN1= gdome-config.1 +OPTIONS_DEFINE= DOCS + +PORTDOCS= * + +.include <bsd.port.options.mk> -NO_STAGE= yes post-patch: -.ifndef(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} -E -e \ - 's,^(HTML_DIR *= *).*,\1\$$(prefix)/share/doc,' \ + 's,^(HTML_DIR *= *).*,\1\$$(DESTDIR)$$(prefix)/share/doc,' \ ${WRKSRC}/gtk-doc/Makefile.in .else @${REINPLACE_CMD} '/gtk-doc/d' ${WRKSRC}/Makefile.in diff --git a/textproc/gdome2/pkg-plist b/textproc/gdome2/pkg-plist index 3ca13f3cd6cf..7580d6190449 100644 --- a/textproc/gdome2/pkg-plist +++ b/textproc/gdome2/pkg-plist @@ -1,10 +1,4 @@ bin/gdome-config -lib/libgdome.a -lib/libgdome.la -lib/libgdome.so -lib/libgdome.so.8 -lib/gdomeConf.sh -include/libgdome/gdome.h include/libgdome/gdome-events.h include/libgdome/gdome-libxml-util.h include/libgdome/gdome-private-list.h @@ -12,42 +6,13 @@ include/libgdome/gdome-refdebug.h include/libgdome/gdome-treegc.h include/libgdome/gdome-util.h include/libgdome/gdome-xpath.h -@dirrm include/libgdome +include/libgdome/gdome.h +lib/gdomeConf.sh +lib/libgdome.a +lib/libgdome.la +lib/libgdome.so +lib/libgdome.so.8 libdata/pkgconfig/gdome2.pc +man/man1/gdome-config.1.gz share/aclocal/gdome2.m4 -%%PORTDOCS%%%%DOCSDIR%%/book1.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-basic-types-and-enumerations.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-core.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-events-basic-types-and-enumerations.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-events.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeattr.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomecdatasection.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomecharacterdata.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomecomment.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomedocument.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomedocumentfragment.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomedocumenttype.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomedomimplementation.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeelement.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeentity.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeentityreference.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeevent.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeeventlistener.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomemutationevent.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomenamednodemap.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomenode.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomenodelist.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomenotation.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomeprocessinginstruction.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdometext.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomexpathevaluator.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomexpathnamespace.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomexpathnsresolver.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-gdomexpathresult.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-memory.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-module-private-list.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-module-tree-garbage-collector.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-xpath-basic-types-and-enumerations.html -%%PORTDOCS%%%%DOCSDIR%%/gdome2-xpath.html -%%PORTDOCS%%%%DOCSDIR%%/index.sgml -%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry include/libgdome |