blob: 70713e8395759f02a33830c43f3d4e7516c2032f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# $NetBSD: Makefile,v 1.5 2012/12/21 06:29:31 dholland Exp $
#
.include "../../textproc/docbook-xsl/Makefile.common"
PKGNAME= dbtoepub-${DISTNAME:S/docbook-xsl-//}
COMMENT= DocBook to epub converter
DEPENDS+= \
docbook-xsl>=${DISTNAME:S/docbook-xsl-//}:../../textproc/docbook-xsl
REPLACE_RUBY+= epub/bin/dbtoepub
INSTALLATION_DIRS+= ${XSLDIR}
do-install:
${ECHO} "${INSTALL_DATA_DIR} ${DESTDIR}${XSLDIR}/epub"
${ECHO} "cd ${WRKSRC} && pax -rw -pp -pm epub ${DESTDIR}${XSLDIR}/"
cd ${WRKSRC} && pax -rw -pp -pm epub ${DESTDIR}${XSLDIR}/
for f in `${FIND} ${DESTDIR}${XSLDIR} -name \\*.orig -print` ; do \
${ECHO} "Remove .orig file $$f" ; \
${RM} $$f ; \
done
.include "../../lang/ruby/buildlink3.mk"
.include "../../lang/ruby/replace.mk"
.include "../../mk/bsd.pkg.mk"
|