pkgsrc/textproc/docbook-xsl/Makefile
dmcmahill 4533a1ccd8 Use cp1250 instead of windows-1250 for an encoding as the former
seems to be a bit more widely supported.  Fixes unknown encoding problems
on netbsd-2 when building textproc/xmlto
2007-10-01 23:39:20 +00:00

49 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.48 2007/10/01 23:39:20 dmcmahill Exp $
#
DISTNAME= docbook-xsl-1.73.2
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=docbook/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://docbook.sourceforge.net/
COMMENT= Docbook XSL modular stylesheet
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= docbook-xml>=4.2:../../textproc/docbook-xml
USE_LANGUAGES= # empty
NO_BUILD= YES
USE_TOOLS+= perl:run
REPLACE_PERL+= fo/pdf2index
EGDIR= ${PREFIX}/share/examples/docbook-xsl
XSLDIR= ${PREFIX}/share/xsl/docbook
XSLMODS= common eclipse fo highlighting html \
htmlhelp images javahelp lib manpages params \
profiling roundtrip slides website xhtml
XML_CATALOGS= ${XSLDIR}/catalog.xml
INSTALLATION_DIRS= ${EGDIR} ${XSLDIR}
do-install:
cd ${WRKSRC}/template && ${PAX} -rw -pp -pm . ${DESTDIR}${EGDIR}
${INSTALL_DATA} ${WRKSRC}/VERSION ${DESTDIR}${XSLDIR}
${INSTALL_DATA} ${WRKSRC}/catalog.xml ${DESTDIR}${XSLDIR}/catalog.xml
for d in ${XSLMODS}; do \
${ECHO} "${INSTALL_DATA_DIR} ${DESTDIR}${XSLDIR}/$$d"; \
${ECHO} "cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/"; \
cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/; \
done
for f in `${FIND} ${DESTDIR}${XSLDIR} -name \*.orig -print` ; do \
${ECHO} "Remove .orig file $$f" ; \
${RM} $$f ; \
done
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"