aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-02-19 01:01:29 +0800
committermat <mat@FreeBSD.org>2014-02-19 01:01:29 +0800
commit06162d815c0b84825d760ece61ed445d15447ff8 (patch)
tree053d878b1e766286ce1c6750c7afc6725f10d18e /textproc
parentb3ebae7bfc1a053ad409f85adb1453ebdeb78bb9 (diff)
downloadfreebsd-ports-gnome-06162d815c0b84825d760ece61ed445d15447ff8.tar.gz
freebsd-ports-gnome-06162d815c0b84825d760ece61ed445d15447ff8.tar.zst
freebsd-ports-gnome-06162d815c0b84825d760ece61ed445d15447ff8.zip
Support staging.
Sponsored by: Absolight
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook-utils/Makefile21
-rw-r--r--textproc/docbook-utils/pkg-plist24
2 files changed, 20 insertions, 25 deletions
diff --git a/textproc/docbook-utils/Makefile b/textproc/docbook-utils/Makefile
index d6a4f813fa4e..e2add97234dd 100644
--- a/textproc/docbook-utils/Makefile
+++ b/textproc/docbook-utils/Makefile
@@ -21,29 +21,14 @@ RUN_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/dsssl:${PORTSDIR}/textproc/dsssl-d
CONFLICTS= docbook2X-*
-USES= perl5
+USES= perl5 gmake
USE_PERL5= run
USE_TEX= jadetex
GNU_CONFIGURE= yes
-USE_GMAKE= yes
MAKE_ARGS+= docdir="${DOCSDIR}" htmldir="${DOCSDIR}/html"
-MAN1= jw.1 sgmldiff.1 docbook2man-spec.pl.1 docbook2texi-spec.pl.1
-MAN7= backend-spec.7 frontend-spec.7
-MLINKS= jw.1 docbook2dvi.1 \
- jw.1 docbook2html.1 \
- jw.1 docbook2man.1 \
- jw.1 docbook2pdf.1 \
- jw.1 docbook2ps.1 \
- jw.1 docbook2rtf.1 \
- jw.1 docbook2tex.1 \
- jw.1 docbook2texi.1 \
- jw.1 docbook2txt.1
-.if !defined(NOPORTDOCS)
PORTDOCS= *
-.endif
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/etc/sgml/catalog|${PREFIX}/share/sgml/catalog|g' \
${WRKSRC}/doc/HTML/Makefile.in
@@ -51,10 +36,6 @@ post-patch:
-e 's|/usr/bin/|${LOCALBASE}/bin/|g' \
${WRKSRC}/doc/refentry/*.sgml \
${WRKSRC}/backends/txt
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's|SUBDIRS = refentry man HTML|SUBDIRS = refentry man|' \
- ${WRKSRC}/doc/Makefile.in
-.endif
pre-configure:
${RM} -f ${WRKSRC}/config.cache
diff --git a/textproc/docbook-utils/pkg-plist b/textproc/docbook-utils/pkg-plist
index 32a700b5d063..1f839f44156c 100644
--- a/textproc/docbook-utils/pkg-plist
+++ b/textproc/docbook-utils/pkg-plist
@@ -9,6 +9,20 @@ bin/docbook2texi
bin/docbook2txt
bin/jw
bin/sgmldiff
+man/man1/docbook2dvi.1.gz
+man/man1/docbook2html.1.gz
+man/man1/docbook2man-spec.pl.1.gz
+man/man1/docbook2man.1.gz
+man/man1/docbook2pdf.1.gz
+man/man1/docbook2ps.1.gz
+man/man1/docbook2rtf.1.gz
+man/man1/docbook2tex.1.gz
+man/man1/docbook2texi-spec.pl.1.gz
+man/man1/docbook2texi.1.gz
+man/man1/jw.1.gz
+man/man1/sgmldiff.1.gz
+man/man7/backend-spec.7.gz
+man/man7/frontend-spec.7.gz
share/sgml/docbook/utils-0.6.14/backends/dvi
share/sgml/docbook/utils-0.6.14/backends/html
share/sgml/docbook/utils-0.6.14/backends/man
@@ -18,12 +32,12 @@ share/sgml/docbook/utils-0.6.14/backends/rtf
share/sgml/docbook/utils-0.6.14/backends/tex
share/sgml/docbook/utils-0.6.14/backends/texi
share/sgml/docbook/utils-0.6.14/backends/txt
+share/sgml/docbook/utils-0.6.14/docbook-utils.dsl
share/sgml/docbook/utils-0.6.14/frontends/docbook
share/sgml/docbook/utils-0.6.14/helpers/docbook2man-spec.pl
share/sgml/docbook/utils-0.6.14/helpers/docbook2texi-spec.pl
-share/sgml/docbook/utils-0.6.14/docbook-utils.dsl
-@dirrm share/sgml/docbook/utils-0.6.14/backends
-@dirrm share/sgml/docbook/utils-0.6.14/frontends
-@dirrm share/sgml/docbook/utils-0.6.14/helpers
-@dirrm share/sgml/docbook/utils-0.6.14
+@dirrmtry share/sgml/docbook/utils-0.6.14/helpers
+@dirrmtry share/sgml/docbook/utils-0.6.14/frontends
+@dirrmtry share/sgml/docbook/utils-0.6.14/backends
+@dirrmtry share/sgml/docbook/utils-0.6.14
@dirrmtry share/sgml/docbook