diff --git a/textproc/docbook-utils/Makefile b/textproc/docbook-utils/Makefile index acfaf22cfdc5..958d10beba1a 100644 --- a/textproc/docbook-utils/Makefile +++ b/textproc/docbook-utils/Makefile @@ -1,50 +1,46 @@ PORTNAME= docbook-utils PORTVERSION= 0.6.14 PORTREVISION= 14 CATEGORIES= textproc MASTER_SITES= SOURCEWARE/docbook-tools/new-trials/SOURCES MAINTAINER= ports@FreeBSD.org COMMENT= Generates various output formats from DocBook SGML documents WWW= https://www.sourceware.org/docbook-tools/ -DEPRECATED= Depends on expired textproc/jade -EXPIRATION_DATE=2025-03-31 - BUILD_DEPENDS+= docbook-sgml>0:textproc/docbook-sgml \ dsssl-docbook-modular>0:textproc/dsssl-docbook-modular \ nsgmls:textproc/jade RUN_DEPENDS+= dsssl-docbook-modular>0:textproc/dsssl-docbook-modular \ nsgmls:textproc/jade \ sgmlspl:textproc/p5-SGMLSpm \ lynx:www/lynx CONFLICTS= docbook2X linux-j # bin/docbook2man bin/docbook2texi bin/jw USES= perl5 gmake shebangfix tex USE_PERL5= run USE_TEX= jadetex GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share MAKE_ARGS+= docdir="${DOCSDIR}" htmldir="${DOCSDIR}/html" NO_ARCH= yes SHEBANG_FILES= bin/sgmldiff.in perl_OLD_CMD= @perl_bindir@/perl PORTDOCS= * OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|/etc/sgml/catalog|${PREFIX}/share/sgml/catalog|g' \ ${WRKSRC}/doc/HTML/Makefile.in @${REINPLACE_CMD} -e 's|/etc/sgml|${LOCALBASE}/share/sgml|g' \ -e 's|/usr/bin/|${LOCALBASE}/bin/|g' \ ${WRKSRC}/doc/refentry/*.sgml \ ${WRKSRC}/backends/txt pre-configure: ${RM} ${WRKSRC}/config.cache .include diff --git a/textproc/linuxdoc-tools/Makefile b/textproc/linuxdoc-tools/Makefile index 108aa0ea3b02..9295feb7b3ae 100644 --- a/textproc/linuxdoc-tools/Makefile +++ b/textproc/linuxdoc-tools/Makefile @@ -1,43 +1,39 @@ PORTNAME= linuxdoc-tools DISTVERSION= 0.9.83 PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= zirias@FreeBSD.org COMMENT= Fork of SGML-tools specially tailored for linuxdoc SGMLs WWW= https://gitlab.com/agmartin/linuxdoc-tools LICENSE= GPLv3 LinuxdocTools LICENSE_COMB= multi LICENSE_NAME_LinuxdocTools= The linuxdoc-tools license LICENSE_FILE_LinuxdocTools= ${WRKSRC}/COPYING LICENSE_PERMS_LinuxdocTools= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -DEPRECATED= Depends on expired textproc/jade -EXPIRATION_DATE=2025-03-31 - BUILD_DEPENDS= gawk:lang/gawk \ nsgmls:textproc/jade \ sgmlsasp:textproc/sgmls RUN_DEPENDS= gawk:lang/gawk \ nsgmls:textproc/jade \ sgmlsasp:textproc/sgmls USE_GITLAB= yes GL_ACCOUNT= agmartin GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USES= gmake groff:both perl5 tar:bzip2 CONFIGURE_ARGS= --with-installed-sgmlsasp PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= bash:shells/bash DOCS_USES= makeinfo tex DOCS_USE= TEX=dvipsk:build,latex:build,pdftex:build DOCS_CONFIGURE_ENABLE= docs .include diff --git a/textproc/sgmlformat/Makefile b/textproc/sgmlformat/Makefile index daa03e201a71..8be63bbc9797 100644 --- a/textproc/sgmlformat/Makefile +++ b/textproc/sgmlformat/Makefile @@ -1,50 +1,48 @@ PORTNAME= sgmlformat PORTVERSION= 1.7 PORTREVISION= 8 CATEGORIES= textproc print MASTER_SITES= LOCAL/kuriyama MAINTAINER= ports@FreeBSD.org COMMENT= Generates groff and HTML from linuxdoc and docbook SGML documents USES= perl5 uidfix USE_PERL5= run MAKE_ARGS= MANDIR="${PREFIX}/share/man/man" MAKE_ENV= STAGEDIR=${STAGEDIR} # There are two ports that satisfy the nsgmls requirement. # Jade is preferred. .include .if ${MACHINE_ARCH} != "i386" WITH_OPENJADE= yes .endif .if defined(WITH_OPENJADE) RUN_DEPENDS= openjade>0:textproc/openjade .else RUN_DEPENDS= nsgmls:textproc/jade -DEPRECATED= Depends on expired textproc/jade -EXPIRATION_DATE=2025-03-31 .endif RUN_DEPENDS+= linuxdoc>0:textproc/linuxdoc \ docbook-sgml>0:textproc/docbook-sgml \ groff:textproc/groff .if defined(WITH_OPENJADE) post-patch: @${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/sgmlfmt/sgmlfmt.pl @${REINPLACE_CMD} -e 's,nsgmls,onsgmls,g' ${WRKSRC}/instant/traninit.c @( cd ${WRKSRC}/transpec && \ ${REINPLACE_CMD} 's,/usr/share/tmac,${PREFIX}/share/groff/current/tmac,' \ docbook-roff.ts iso12083article-roff.ts linuxdoc-roff.ts ) .endif post-build: ${REINPLACE_CMD} -E 's#(/usr|${PREFIX})/bin/perl#${PERL}#' ${WRKSRC}/sgmlfmt/sgmlfmt pre-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/sgml/transpec .include