Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jan 2014 21:08:55 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341452 - head/textproc/gdome2
Message-ID:  <201401272108.s0RL8tx4003028@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Mon Jan 27 21:08:55 2014
New Revision: 341452
URL: http://svnweb.freebsd.org/changeset/ports/341452
QAT: https://qat.redports.org/buildarchive/r341452/

Log:
  Convert to staging.
  
  Sponsored by:	Absolight

Modified:
  head/textproc/gdome2/Makefile
  head/textproc/gdome2/pkg-plist

Modified: head/textproc/gdome2/Makefile
==============================================================================
--- head/textproc/gdome2/Makefile	Mon Jan 27 21:08:45 2014	(r341451)
+++ head/textproc/gdome2/Makefile	Mon Jan 27 21:08:55 2014	(r341452)
@@ -10,24 +10,25 @@ MASTER_SITES=	http://gdome2.cs.unibo.it/
 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

Modified: head/textproc/gdome2/pkg-plist
==============================================================================
--- head/textproc/gdome2/pkg-plist	Mon Jan 27 21:08:45 2014	(r341451)
+++ head/textproc/gdome2/pkg-plist	Mon Jan 27 21:08:55 2014	(r341452)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401272108.s0RL8tx4003028>