Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 23:05:12 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335857 - head/devel/glib20-reference
Message-ID:  <201312072305.rB7N5CCv068810@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Dec  7 23:05:12 2013
New Revision: 335857
URL: http://svnweb.freebsd.org/changeset/ports/335857

Log:
  - Fix plist
  - Stage support
  
  Approved by:	kwm (maintainer)

Modified:
  head/devel/glib20-reference/Makefile
  head/devel/glib20-reference/pkg-plist

Modified: head/devel/glib20-reference/Makefile
==============================================================================
--- head/devel/glib20-reference/Makefile	Sat Dec  7 22:58:53 2013	(r335856)
+++ head/devel/glib20-reference/Makefile	Sat Dec  7 23:05:12 2013	(r335857)
@@ -1,32 +1,26 @@
 # Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
 # $FreeBSD$
 
-PORTREVISION=	2
+PORTREVISION=	3
 
 BOOKS=		glib gobject gio
 
 glib_MAN=	glib-gettextize.1
 gobject_MAN=	glib-genmarshal.1 glib-mkenums.1 gobject-query.1
 
-MAN1=		${glib_MAN} ${gobject_MAN}
-
-PLIST=		${.CURDIR}/pkg-plist
-
-NO_STAGE=	yes
 do-install:
 .for d in ${BOOKS}
 	if [ -d ${REFERENCE_SRC}/${d}/html ]; then \
-        	${MKDIR} ${PREFIX}/share/doc/${d}; \
+        	${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}; \
 		cd ${REFERENCE_SRC}/${d}/html && \
-		${FIND} * -type d ! -empty -exec ${MKDIR} "${PREFIX}/share/doc/${d}/{}" \; && \
-		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/doc/${d}/{}" \; ; \
+		${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/${d}; \
 	fi
 .endfor
 
 post-install:
 .for m in glib gobject
 	${INSTALL_MAN} ${${m}_MAN:S|^|${REFERENCE_SRC}/${m}/|} \
-		${PREFIX}/man/man1
+		${STAGEDIR}${PREFIX}/man/man1
 .endfor
 
 # overwrite this from bsd.port.mk, because we not don't honow DOCSDIR

Modified: head/devel/glib20-reference/pkg-plist
==============================================================================
--- head/devel/glib20-reference/pkg-plist	Sat Dec  7 22:58:53 2013	(r335856)
+++ head/devel/glib20-reference/pkg-plist	Sat Dec  7 23:05:12 2013	(r335857)
@@ -1,3 +1,7 @@
+man/man1/glib-genmarshal.1.gz
+man/man1/glib-gettextize.1.gz
+man/man1/glib-mkenums.1.gz
+man/man1/gobject-query.1.gz
 share/doc/gio/ExampleAnimal.html
 share/doc/gio/ExampleCat.html
 share/doc/gio/ExampleObject.html
@@ -82,6 +86,7 @@ share/doc/gio/GSimpleAction.html
 share/doc/gio/GSimpleActionGroup.html
 share/doc/gio/GSimpleAsyncResult.html
 share/doc/gio/GSimplePermission.html
+share/doc/gio/GSimpleProxyResolver.html
 share/doc/gio/GSocket.html
 share/doc/gio/GSocketAddress.html
 share/doc/gio/GSocketClient.html
@@ -91,6 +96,7 @@ share/doc/gio/GSocketControlMessage.html
 share/doc/gio/GSocketListener.html
 share/doc/gio/GSocketService.html
 share/doc/gio/GSrvTarget.html
+share/doc/gio/GTask.html
 share/doc/gio/GTcpConnection.html
 share/doc/gio/GTcpWrapperConnection.html
 share/doc/gio/GTestDBus.html
@@ -127,6 +133,7 @@ share/doc/gio/api-index-2-28.html
 share/doc/gio/api-index-2-30.html
 share/doc/gio/api-index-2-32.html
 share/doc/gio/api-index-2-34.html
+share/doc/gio/api-index-2-36.html
 share/doc/gio/api-index-deprecated.html
 share/doc/gio/api-index-full.html
 share/doc/gio/application.html
@@ -185,6 +192,7 @@ share/doc/gio/gio-Owning-Bus-Names.html
 share/doc/gio/gio-TLS-Overview.html
 share/doc/gio/gio-Unix-Mounts.html
 share/doc/gio/gio-Watching-Bus-Names.html
+share/doc/gio/gio-gnetworking.h.html
 share/doc/gio/gio-gpollableutils.html
 share/doc/gio/gio-hierarchy.html
 share/doc/gio/gio-querymodules.html
@@ -236,6 +244,7 @@ share/doc/glib/api-index-2-28.html
 share/doc/glib/api-index-2-30.html
 share/doc/glib/api-index-2-32.html
 share/doc/glib/api-index-2-34.html
+share/doc/glib/api-index-2-36.html
 share/doc/glib/api-index-2-4.html
 share/doc/glib/api-index-2-6.html
 share/doc/glib/api-index-2-8.html
@@ -357,6 +366,7 @@ share/doc/gobject/api-index-2-28.html
 share/doc/gobject/api-index-2-30.html
 share/doc/gobject/api-index-2-32.html
 share/doc/gobject/api-index-2-34.html
+share/doc/gobject/api-index-2-36.html
 share/doc/gobject/api-index-2-4.html
 share/doc/gobject/api-index-2-6.html
 share/doc/gobject/api-index-2-8.html



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