Lines 6-16
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= xmlto |
8 |
PORTNAME= xmlto |
9 |
PORTVERSION= 0.0.20 |
9 |
PORTVERSION= 0.0.21 |
10 |
PORTREVISION= 2 |
|
|
11 |
CATEGORIES= textproc |
10 |
CATEGORIES= textproc |
12 |
MASTER_SITES= http://cyberelk.net/tim/data/xmlto/stable/ |
11 |
MASTER_SITES= https://fedorahosted.org/releases/x/m/xmlto/ |
13 |
# Master Site is subject to change with 0.0.21 release |
|
|
14 |
|
12 |
|
15 |
MAINTAINER= matthias.andree@gmx.de |
13 |
MAINTAINER= matthias.andree@gmx.de |
16 |
COMMENT= Front-end to an XSL toolchain |
14 |
COMMENT= Front-end to an XSL toolchain |
Lines 22-28
Link Here
|
22 |
${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl |
20 |
${XSL_DIR}:${PORTSDIR}/textproc/docbook-xsl |
23 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
21 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
24 |
|
22 |
|
25 |
OPTIONS= PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF |
23 |
OPTIONS= PASSIVETEX "Enable PassiveTeX support for DVI/PS/PDF" OFF \ |
|
|
24 |
FOP "Add dependency on FOP" OFF \ |
25 |
LIBPAPER "Add dependency on libpaper" OFF \ |
26 |
DBLATEX "Add dependency on Dblatex (EXPERIMENTAL)" OFF |
26 |
|
27 |
|
27 |
USE_BZIP2= yes |
28 |
USE_BZIP2= yes |
28 |
GNU_CONFIGURE= yes |
29 |
GNU_CONFIGURE= yes |
Lines 49-68
Link Here
|
49 |
PLIST_SUB= PASSIVETEX="@comment " |
50 |
PLIST_SUB= PASSIVETEX="@comment " |
50 |
.endif |
51 |
.endif |
51 |
|
52 |
|
|
|
53 |
.if defined(WITH_FOP) |
54 |
RUN_DEPENDS+= ${LOCALBASE}/bin/fop:${PORTSDIR}/textproc/fop |
55 |
.endif |
56 |
|
57 |
.if defined(WITH_LIBPAPER) |
58 |
RUN_DEPENDS+= ${LOCALBASE}/bin/paperconf:${PORTSDIR}/print/libpaper |
59 |
.endif |
60 |
|
61 |
.if defined(WITH_DBLATEX) |
62 |
RUN_DEPENDS+= ${LOCALBASE}/bin/dblatex:${PORTSDIR}/textproc/dblatex |
63 |
.endif |
64 |
|
52 |
post-patch: |
65 |
post-patch: |
53 |
.for i in docbook/htmlhelp docbook/xhtml-nochunks docbook/javahelp \ |
66 |
@${REINPLACE_CMD} -E -e 's,/usr/bin/(dblatex|fop|links|lynx|paperconf|w3m),${LOCALBASE}/bin/\1,g' \ |
54 |
docbook/html docbook/html-nochunks docbook/xhtml docbook/fo \ |
67 |
${WRKSRC}/xmlto.in \ |
55 |
docbook/man fo/dvi fo/pdf |
68 |
${WRKSRC}/format/docbook/txt |
56 |
@${REINPLACE_CMD} -e 's|-a|-PpR|' ${WRKSRC}/format/${i} |
|
|
57 |
.endfor |
58 |
.if !defined(WITH_PASSIVETEX) |
69 |
.if !defined(WITH_PASSIVETEX) |
59 |
@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in |
70 |
@${REINPLACE_CMD} -e '/format\/fo\//d' ${WRKSRC}/Makefile.in |
60 |
.endif |
71 |
.endif |
61 |
|
72 |
|
62 |
post-build: |
|
|
63 |
@${REINPLACE_CMD} -e 's,/usr/bin,${LOCALBASE}/bin,g' \ |
64 |
${WRKSRC}/format/docbook/txt |
65 |
|
66 |
.if !defined(NOPORTDOCS) |
73 |
.if !defined(NOPORTDOCS) |
67 |
post-install: |
74 |
post-install: |
68 |
@${MKDIR} ${DOCSDIR} |
75 |
@${MKDIR} ${DOCSDIR} |