diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-04 09:58:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-04 09:58:18 +0000 |
commit | 0e8a130fdb5969ccb95e2ca4390ba179c673fe90 (patch) | |
tree | 58006769351d8ce28d8fb59bce0d409e6386c6e2 /textproc/docbook/Makefile | |
parent | f42766a29dc69704983c84004276d4d2bb0e87be (diff) | |
download | pkgsrc-0e8a130fdb5969ccb95e2ca4390ba179c673fe90.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'textproc/docbook/Makefile')
-rw-r--r-- | textproc/docbook/Makefile | 89 |
1 files changed, 45 insertions, 44 deletions
diff --git a/textproc/docbook/Makefile b/textproc/docbook/Makefile index 05d64387ab0..0e1d2652315 100644 --- a/textproc/docbook/Makefile +++ b/textproc/docbook/Makefile @@ -1,16 +1,16 @@ -# $NetBSD: Makefile,v 1.36 2006/03/21 06:00:49 jlam Exp $ +# $NetBSD: Makefile,v 1.37 2006/07/04 09:58:18 rillig Exp $ DISTNAME= docbook-4.4 PKGREVISION= 2 CATEGORIES= textproc MASTER_SITES= http://www.oasis-open.org/docbook/sgml/4.4/ -SITES_docbook-4.3.zip= http://www.oasis-open.org/docbook/sgml/4.3/ -SITES_docbook-4.2.zip= http://www.oasis-open.org/docbook/sgml/4.2/ -SITES_docbk41.zip= http://www.oasis-open.org/docbook/sgml/4.1/ -SITES_docbk40.zip= http://www.oasis-open.org/docbook/sgml/4.0/ -SITES_docbk31.zip= http://www.oasis-open.org/docbook/sgml/3.1/ -SITES_docbk30.zip= http://www.oasis-open.org/docbook/sgml/3.0/ -SITES_docbk241.zip= http://www.oasis-open.org/docbook/sgml/2.4.1/ +SITES.docbook-4.3.zip= http://www.oasis-open.org/docbook/sgml/4.3/ +SITES.docbook-4.2.zip= http://www.oasis-open.org/docbook/sgml/4.2/ +SITES.docbk41.zip= http://www.oasis-open.org/docbook/sgml/4.1/ +SITES.docbk40.zip= http://www.oasis-open.org/docbook/sgml/4.0/ +SITES.docbk31.zip= http://www.oasis-open.org/docbook/sgml/3.1/ +SITES.docbk30.zip= http://www.oasis-open.org/docbook/sgml/3.0/ +SITES.docbk241.zip= http://www.oasis-open.org/docbook/sgml/2.4.1/ DISTFILES= docbk241.zip docbk30.zip docbk31.zip docbk40.zip docbk41.zip \ docbook-4.2.zip docbook-4.3.zip docbook-4.4.zip @@ -24,9 +24,10 @@ BUILD_DEPENDS+= unzip-[0-9]*:../../archivers/unzip DEPENDS+= iso8879>=1986:../../textproc/iso8879 WRKSRC= ${WRKDIR} -NO_MTREE= yes -USE_LANGUAGES= # empty -EXTRACT_ONLY= # empty +NO_MTREE= yes +USE_LANGUAGES= # none +USE_TOOLS+= unzip +EXTRACT_ONLY= # nothing INSTDIR= ${PREFIX}/share/sgml/docbook ISOCAT= ${PREFIX}/share/sgml/iso8879/catalog @@ -44,68 +45,68 @@ do-build: pre-install: ${INSTALL_DATA_DIR} ${INSTDIR}/2.4.1 - @[ -d ${INSTDIR}/3.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.0 - @[ -d ${INSTDIR}/3.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.1 - @[ -d ${INSTDIR}/4.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.0 - @[ -d ${INSTDIR}/4.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.1 - @[ -d ${INSTDIR}/4.2 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.2 - @[ -d ${INSTDIR}/4.3 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.3 - @[ -d ${INSTDIR}/4.4 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.4 + [ -d ${INSTDIR}/3.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.0 + [ -d ${INSTDIR}/3.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/3.1 + [ -d ${INSTDIR}/4.0 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.0 + [ -d ${INSTDIR}/4.1 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.1 + [ -d ${INSTDIR}/4.2 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.2 + [ -d ${INSTDIR}/4.3 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.3 + [ -d ${INSTDIR}/4.4 ] || ${INSTALL_DATA_DIR} ${INSTDIR}/4.4 do-install: # # 2.4.1: # - @(cd ${INSTDIR}/2.4.1; unzip ${DISTDIR}/docbk241.zip) - @${RM} -r ${INSTDIR}/2.4.1/iso-* - @${INSTALL_DATA} ${WRKDIR}/catalog241 ${INSTDIR}/2.4.1/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/2.4.1/* + (cd ${INSTDIR}/2.4.1 && ${UNZIP_CMD} ${DISTDIR}/docbk241.zip) + ${RM} -r ${INSTDIR}/2.4.1/iso-* + ${INSTALL_DATA} ${WRKDIR}/catalog241 ${INSTDIR}/2.4.1/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/2.4.1/* # # 3.0: # - @(cd ${INSTDIR}/3.0; unzip ${DISTDIR}/docbk30.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog30 ${INSTDIR}/3.0/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.0/* + (cd ${INSTDIR}/3.0 && ${UNZIP_CMD} ${DISTDIR}/docbk30.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog30 ${INSTDIR}/3.0/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/3.0/* # # 3.1: # - @(cd ${INSTDIR}/3.1; unzip ${DISTDIR}/docbk31.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog31 ${INSTDIR}/3.1/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/* + (cd ${INSTDIR}/3.1 && ${UNZIP_CMD} ${DISTDIR}/docbk31.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog31 ${INSTDIR}/3.1/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/3.1/* # # 4.0: # - @(cd ${INSTDIR}/4.0; unzip ${DISTDIR}/docbk40.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog40 ${INSTDIR}/4.0/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/* + (cd ${INSTDIR}/4.0 && ${UNZIP_CMD} ${DISTDIR}/docbk40.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog40 ${INSTDIR}/4.0/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/4.0/* # # 4.1: # - @(cd ${INSTDIR}/4.1; unzip ${DISTDIR}/docbk41.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog41 ${INSTDIR}/4.1/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.1/* + (cd ${INSTDIR}/4.1 && ${UNZIP_CMD} ${DISTDIR}/docbk41.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog41 ${INSTDIR}/4.1/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/4.1/* # # 4.2: # - @(cd ${INSTDIR}/4.2; unzip ${DISTDIR}/docbook-4.2.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog42 ${INSTDIR}/4.2/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.2/* + (cd ${INSTDIR}/4.2 && ${UNZIP_CMD} ${DISTDIR}/docbook-4.2.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog42 ${INSTDIR}/4.2/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/4.2/* # # 4.3: # - @(cd ${INSTDIR}/4.3; unzip ${DISTDIR}/docbook-4.3.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog43 ${INSTDIR}/4.3/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.3/* + (cd ${INSTDIR}/4.3 && ${UNZIP_CMD} ${DISTDIR}/docbook-4.3.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog43 ${INSTDIR}/4.3/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/4.3/* # # 4.4: # - @(cd ${INSTDIR}/4.4; unzip ${DISTDIR}/docbook-4.4.zip) - @${INSTALL_DATA} ${WRKDIR}/catalog44 ${INSTDIR}/4.4/catalog - @${CHMOD} ${SHAREMODE} ${INSTDIR}/4.4/* + (cd ${INSTDIR}/4.4 && ${UNZIP_CMD} ${DISTDIR}/docbook-4.4.zip) + ${INSTALL_DATA} ${WRKDIR}/catalog44 ${INSTDIR}/4.4/catalog + ${CHMOD} ${SHAREMODE} ${INSTDIR}/4.4/* # # General cleanup # - @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR} .include "../../textproc/xmlcatmgr/catalogs.mk" .include "../../mk/bsd.pkg.mk" |