1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/textproc/xml2rfc/Makefile
Doug Barton ff61321e1e A new version of xml2rfc (v1.36) has been released, as well as updates to
the xml2rfc web service running at http://xml.resource.org.

Major new web features include:

    * New options in web form to generate ePub and PDF.
    * New option in web form to show trace and warning messages
        along with the output, using frames. This is the default.
    * New option in web form to do strict DTD checking.
    * New advanced web form (see bottom of the web page)
        to: generate HTML using Julian Reschke's XSLT,  generate
        Postscript, and generate RTF.

Major new xml2rfc features include:

    * Generate proper boilerplate for RFC generation (RFC 5741).
        (Also see the RFC Editor's status-memos page.)
    * Support for the new <rfc> consensus= attribute to help support
        RFC 5741.
    * Support for the new <?rfc text-list-symbols="o*+-"?> processing
        instruction. Modify the list of symbols used for list type="symbols".
        The default is "o*+-", but can be set to any list of characters. For
        example, specifying "abcde" will cause "a" to be used for 1st
        level, "b" for the 2nd level, etc, cycling back to the first character
        "a" at the 6th level. Specifying "o*" will cause the characters "o"
        and "*" to be alternated for each successive level.
2011-03-27 18:29:15 +00:00

63 lines
1.8 KiB
Makefile

# New ports collection makefile for: xml2rfc
# Date created: 8 July 2002
# Whom: jabley@automagic.org
#
# $FreeBSD$
PORTNAME= xml2rfc
PORTVERSION= 1.36
CATEGORIES= textproc
MASTER_SITES= http://xml.resource.org/authoring/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A tool to create RFCs and related documents from XML, as per RFC2629
USE_TCL_RUN= yes
.if !defined(WITHOUT_X11)
USE_TK_RUN= yes
.endif
PATCH_TCL_SCRIPTS=xml2rfc.tcl
NO_BUILD= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xml2rfc.tcl ${PREFIX}/bin/xml2rfc
${LN} -f ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2txt
${LN} -f ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2html
${LN} -f ${PREFIX}/bin/xml2rfc ${PREFIX}/bin/xml2nroff
.if !defined (NOPORTDOCS)
${MKDIR} ${DOCSDIR} ${DOCSDIR}/contrib ${DOCSDIR}/samples \
${DOCSDIR}/contrib/alex.rousskov ${DOCSDIR}/contrib/fred.baker \
${DOCSDIR}/contrib/pekka.savola ${DOCSDIR}/contrib/rob.austein
.for doc in LICENSE README.html README.txt README.xml \
draft-mrose-writing-rfcs.html draft-mrose-writing-rfcs.txt \
example.html example.txt example.xml rfc2629-other.ent \
rfc2629-xhtml.ent rfc2629.dtd rfc2629.html rfc2629.rnc rfc2629.rng \
rfc2629.xml rfc2629.xsd test.txt test.xml xml.xsd xml2rfc-win.png \
xml2sgml.tcl
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.for doc in \
alex.rousskov/xml2rfcpp.pl \
fred.baker/new-draft.xml \
pekka.savola/template.xml \
pekka.savola/template0.xml \
pekka.savola/template1b.xml \
rob.austein/concat.pl \
rob.austein/fast-sync.sh
${INSTALL_DATA} ${WRKSRC}/contrib/${doc} ${DOCSDIR}/contrib/${doc}
.endfor
for doc in ${WRKSRC}/samples/* ; do \
${INSTALL_DATA} $${doc} ${DOCSDIR}/samples ; \
done
${INSTALL_DATA} ${WRKSRC}/.xml2rfc.rc ${DOCSDIR}/dot.xml2rfc.rc
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>