Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 08:37:16 +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: r368077 - head/textproc/html
Message-ID:  <201409130837.s8D8bGoQ083169@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Sep 13 08:37:15 2014
New Revision: 368077
URL: http://svnweb.freebsd.org/changeset/ports/368077
QAT: https://qat.redports.org/buildarchive/r368077/

Log:
  Allow staging as a regular user

Modified:
  head/textproc/html/Makefile

Modified: head/textproc/html/Makefile
==============================================================================
--- head/textproc/html/Makefile	Sat Sep 13 07:06:39 2014	(r368076)
+++ head/textproc/html/Makefile	Sat Sep 13 08:37:15 2014	(r368077)
@@ -5,9 +5,7 @@ PORTNAME=	html
 PORTVERSION=	4.01
 PORTREVISION=	2
 CATEGORIES=	textproc
-MASTER_SITES=	${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR=	kuriyama
-EXTRACT_ONLY=	# empty
+MASTER_SITES=	LOCAL/kuriyama
 
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	All W3C published SGML DTDs for HTML
@@ -21,16 +19,12 @@ NO_WRKSUBDIR=	yes
 PLIST_SUB=	DTD_NAME=${PORTNAME} XMLCATMGR=${XMLCATMGR}
 PLIST_SUB+=	CATALOG_PORTS_SGML=${CATALOG_PORTS_SGML}
 
-INSTDIR=	${STAGEDIR}${PREFIX}/share/sgml/html
+INSTDIR=	${PREFIX}/share/sgml/html
 XMLCATMGR=	${LOCALBASE}/bin/xmlcatmgr
 CATALOG_PORTS_SGML=	${PREFIX}/share/sgml/catalog.ports
 
-pre-su-install:
-	@[ -d ${INSTDIR} ] || ${MKDIR} ${INSTDIR}
-
 do-install:
-	@zcat ${DISTDIR}/${DISTFILES} |(cd ${INSTDIR}; ${PAX} -r)
-	@${CHMOD} ${SHAREMODE} `${FIND} ${INSTDIR} -type f`
-	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
+	${MKDIR} ${STAGEDIR}${INSTDIR}
+	(cd ${WRKSRC} && ${COPYTREE_SHARE} "2.0 3.2 4.0 4.01 catalog" ${STAGEDIR}${INSTDIR})
 
 .include <bsd.port.mk>



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