diff options
author | obache <obache@pkgsrc.org> | 2012-03-24 08:17:57 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2012-03-24 08:17:57 +0000 |
commit | e0878ebbfa66cfca8ad94a3e55beb3e6eeeadf69 (patch) | |
tree | ff8a1eac02464246d4a9fd779410da795af6d5f7 /textproc/dsssl-docbook-modular | |
parent | 781ebd3435385fd6c66c9b6a85585f32b1649be9 (diff) | |
download | pkgsrc-e0878ebbfa66cfca8ad94a3e55beb3e6eeeadf69.tar.gz |
Let bin/collateindex.pl to be executable and add runtime dependency on perl.
PR 46124.
Bump PKGREVISION.
Diffstat (limited to 'textproc/dsssl-docbook-modular')
-rw-r--r-- | textproc/dsssl-docbook-modular/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/textproc/dsssl-docbook-modular/Makefile b/textproc/dsssl-docbook-modular/Makefile index 8ee253b0bbf..6824978a142 100644 --- a/textproc/dsssl-docbook-modular/Makefile +++ b/textproc/dsssl-docbook-modular/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.33 2009/04/12 07:20:10 minskim Exp $ +# $NetBSD: Makefile,v 1.34 2012/03/24 08:17:57 obache Exp $ DISTNAME= docbook-dsssl-1.79 PKGNAME= dsssl-docbook-modular-1.79 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} docbook-dsssl-doc-1.79${EXTRACT_SUFX} @@ -17,10 +17,16 @@ PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= docbook>=4.0:../../textproc/docbook USE_LANGUAGES= # empty +USE_TOOLS+= perl:run + INSTDIR= ${PREFIX}/share/sgml/docbook/dsssl/modular SGML_CATALOGS= ${PREFIX}/share/sgml/docbook/dsssl/modular/catalog +REPLACE_PERL+= bin/collateindex.pl +REPLACE_PERL+= common/cs-hack.pl +REPLACE_PERL+= common/dbl10n.pl + do-build: @${RM} -rf ${WRKSRC}/docsrc @@ -30,6 +36,7 @@ pre-install: do-install: @${CP} -rp ${WRKSRC}/* ${DESTDIR}${INSTDIR} @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${INSTDIR} + ${CHMOD} ${BINMODE} ${DESTDIR}${INSTDIR}/bin/collateindex.pl .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" |