freebsd-ports/textproc/xml2rfc/Makefile
Doug Barton 886ceb86c6 Update to the latest version, 1.35
For the port:
1. Fix spacing in header
2. Put the contrib files into their relative dirctories
3. Install the (new?) sample files
4. Switch to pkg-message

The previous maintainer has indicated that he no longer has the ability
to maintain the port. Cast it back into the pool for now in case an eager
volunteer appears. I plan to keep at least one eye on it in the meantime.
2010-11-15 18:21:08 +00:00

62 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.35
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>