Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2014 20:09:03 +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: r359909 - head/textproc/dsssl-docbook-modular
Message-ID:  <201406302009.s5UK93fN092121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jun 30 20:09:03 2014
New Revision: 359909
URL: http://svnweb.freebsd.org/changeset/ports/359909
QAT: https://qat.redports.org/buildarchive/r359909/

Log:
  Allow staging as a reglar user

Modified:
  head/textproc/dsssl-docbook-modular/Makefile
  head/textproc/dsssl-docbook-modular/pkg-plist

Modified: head/textproc/dsssl-docbook-modular/Makefile
==============================================================================
--- head/textproc/dsssl-docbook-modular/Makefile	Mon Jun 30 19:59:32 2014	(r359908)
+++ head/textproc/dsssl-docbook-modular/Makefile	Mon Jun 30 20:09:03 2014	(r359909)
@@ -32,13 +32,9 @@ PLIST_SUB=	XMLCATMGR=${XMLCATMGR} DTDDIR
 do-build:
 	${RM} -Rf ${WRKSRC}/docsrc
 
-pre-su-install:
+do-install:
 	${MKDIR} ${STAGEDIR}${INSTDIR}
 	${FIND} ${WRKDIR} -name '*.orig' -exec ${RM} {} \;
-	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${WRKSRC}
-
-do-install:
-	@cd ${WRKSRC} && ${TAR} cpf - . | (cd ${STAGEDIR}${INSTDIR} && ${TAR} xpf -)
-
+	cd ${WRKSRC} && ${PAX} -rw . ${STAGEDIR}${INSTDIR}
 
 .include <bsd.port.mk>

Modified: head/textproc/dsssl-docbook-modular/pkg-plist
==============================================================================
--- head/textproc/dsssl-docbook-modular/pkg-plist	Mon Jun 30 19:59:32 2014	(r359908)
+++ head/textproc/dsssl-docbook-modular/pkg-plist	Mon Jun 30 20:09:03 2014	(r359909)
@@ -755,5 +755,5 @@ share/sgml/docbook/dsssl/modular/print/v
 @dirrm share/sgml/docbook/dsssl/modular/common
 @dirrm share/sgml/docbook/dsssl/modular/bin
 @dirrm share/sgml/docbook/dsssl/modular
-@unexec rmdir %D/share/sgml/docbook/dsssl 2>/dev/null || true
-@unexec rmdir %D/share/sgml/docbook 2>/dev/null || true
+@dirrmtry share/sgml/docbook/dsssl
+@dirrmtry share/sgml/docbook



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