aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-13 16:37:15 +0800
committerantoine <antoine@FreeBSD.org>2014-09-13 16:37:15 +0800
commitc9244428a0284f70a80958fb4e9fb47312c6352a (patch)
tree148220550c04042202a0de16ce1a058d2a5530ec /textproc
parent2e70687af813e666b1af208f5bad4052482a11f5 (diff)
downloadfreebsd-ports-gnome-c9244428a0284f70a80958fb4e9fb47312c6352a.tar.gz
freebsd-ports-gnome-c9244428a0284f70a80958fb4e9fb47312c6352a.tar.zst
freebsd-ports-gnome-c9244428a0284f70a80958fb4e9fb47312c6352a.zip
Allow staging as a regular user
Diffstat (limited to 'textproc')
-rw-r--r--textproc/html/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/textproc/html/Makefile b/textproc/html/Makefile
index 8d7bb697e549..47719ad8068b 100644
--- a/textproc/html/Makefile
+++ b/textproc/html/Makefile
@@ -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>