svn commit: r368077 - head/textproc/html
Antoine Brodin
antoine at FreeBSD.org
Sat Sep 13 08:37:16 UTC 2014
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 at 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>
More information about the svn-ports-all
mailing list