diff options
author | antoine <antoine@FreeBSD.org> | 2014-07-01 04:09:03 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2014-07-01 04:09:03 +0800 |
commit | 1715a3878bc547a18d6eddc1f7023289a26f11d9 (patch) | |
tree | e5d914eb62683efaffa3171b209a94440508d424 /textproc | |
parent | f04ee017723f544fcfa7ab05e8496194a7e61223 (diff) | |
download | freebsd-ports-gnome-1715a3878bc547a18d6eddc1f7023289a26f11d9.tar.gz freebsd-ports-gnome-1715a3878bc547a18d6eddc1f7023289a26f11d9.tar.zst freebsd-ports-gnome-1715a3878bc547a18d6eddc1f7023289a26f11d9.zip |
Allow staging as a reglar user
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dsssl-docbook-modular/Makefile | 8 | ||||
-rw-r--r-- | textproc/dsssl-docbook-modular/pkg-plist | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile index 6e5b1336c490..0db988382202 100644 --- a/textproc/dsssl-docbook-modular/Makefile +++ b/textproc/dsssl-docbook-modular/Makefile @@ -32,13 +32,9 @@ PLIST_SUB= XMLCATMGR=${XMLCATMGR} DTDDIR=${RELDIR} \ 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> diff --git a/textproc/dsssl-docbook-modular/pkg-plist b/textproc/dsssl-docbook-modular/pkg-plist index 301b87f42c6d..f1433951207f 100644 --- a/textproc/dsssl-docbook-modular/pkg-plist +++ b/textproc/dsssl-docbook-modular/pkg-plist @@ -755,5 +755,5 @@ share/sgml/docbook/dsssl/modular/print/version.dsl @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 |