Date: Mon, 21 Jul 2014 20:35:41 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362481 - head/textproc/docbook-tdg Message-ID: <201407212035.s6LKZfBf028158@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Mon Jul 21 20:35:40 2014 New Revision: 362481 URL: http://svnweb.freebsd.org/changeset/ports/362481 QAT: https://qat.redports.org/buildarchive/r362481/ Log: textproc/docbook-tdg: provide both versions, selectable via make config - Clean-up Makefile - Add LICENSE - Fix pkg-descr - Use dynamic pkg-plist - Bump PORTREVISION PR: 191162 Submitted by: cjpugmed@gmail.com Deleted: head/textproc/docbook-tdg/pkg-plist Modified: head/textproc/docbook-tdg/Makefile head/textproc/docbook-tdg/distinfo head/textproc/docbook-tdg/pkg-descr Modified: head/textproc/docbook-tdg/Makefile ============================================================================== --- head/textproc/docbook-tdg/Makefile Mon Jul 21 20:34:00 2014 (r362480) +++ head/textproc/docbook-tdg/Makefile Mon Jul 21 20:35:40 2014 (r362481) @@ -3,20 +3,48 @@ PORTNAME= docbook-tdg PORTVERSION= 2.0.17 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.docbook.org/tdg/en/ DISTNAME= tdg-en-html-${PORTVERSION} +DISTFILES= ${DISTNAME} \ + ${DISTNAME}-x +EXTRACT_ONLY= ${DISTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Norman Walsh's book "DocBook: The Definitive Guide" +LICENSE= GFDL + USES= zip NO_BUILD= yes WRKSRC= ${WRKDIR}/tdg/en +OPTIONS_DEFINE= UNEXPANDED +UNEXPANDED_DESC= Unexpanded edition of version 2.0.17 + +.include <bsd.port.options.mk> + +pre-install: +.if ${PORT_OPTIONS:MUNEXPANDED} +EXTRACT_ONLY= ${DISTNAME}-x +DISTFILES= ${DISTNAME}-x +.endif + do-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/index.html ${STAGEDIR}${DOCSDIR} +post-install: + ${FIND} ${STAGEDIR}${PREFIX} -type f | \ + ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + ${FIND} ${STAGEDIR}${PREFIX} -type d -empty -delete | ${SORT} -r | \ + ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST} + ${ECHO} @dirrmtry share/doc/docbook-tdg/html/figures/admon >> ${TMPPLIST} + ${ECHO} @dirrmtry share/doc/docbook-tdg/html/figures/callouts >> ${TMPPLIST} + ${ECHO} @dirrmtry share/doc/docbook-tdg/html/figures >> ${TMPPLIST} + ${ECHO} @dirrmtry share/doc/docbook-tdg/html >> ${TMPPLIST} + ${ECHO} @dirrmtry share/doc/docbook-tdg >> ${TMPPLIST} + .include <bsd.port.mk> Modified: head/textproc/docbook-tdg/distinfo ============================================================================== --- head/textproc/docbook-tdg/distinfo Mon Jul 21 20:34:00 2014 (r362480) +++ head/textproc/docbook-tdg/distinfo Mon Jul 21 20:35:40 2014 (r362481) @@ -1,2 +1,4 @@ -SHA256 (tdg-en-html-2.0.17.zip) = 22740b63975857d9912946249f11ccad0ca2cd6567df8615018db2d99ff338a3 -SIZE (tdg-en-html-2.0.17.zip) = 1814909 +SHA256 (tdg-en-html-2.0.17) = 22740b63975857d9912946249f11ccad0ca2cd6567df8615018db2d99ff338a3 +SIZE (tdg-en-html-2.0.17) = 1814909 +SHA256 (tdg-en-html-2.0.17-x) = 4920c7ffaf1f420b1f9ca5c636a92049e94e4ad81062856dd31d15e08af5282a +SIZE (tdg-en-html-2.0.17-x) = 1787445 Modified: head/textproc/docbook-tdg/pkg-descr ============================================================================== --- head/textproc/docbook-tdg/pkg-descr Mon Jul 21 20:34:00 2014 (r362480) +++ head/textproc/docbook-tdg/pkg-descr Mon Jul 21 20:35:40 2014 (r362481) @@ -11,5 +11,8 @@ is freely licensed under the GNU FDL. The current edition purports to document DocBook v4.4 with the EBNF, HTML Forms, MathML and SVG modules. +An unexpanded edition of version 2.0.17 is also available. In this version, +content models are shown with parameter entities rather than fully expanded. + Author: <nwalsh@nwalsh.com> -WWW: http://www.docbook.org/ +WWW: http://www.docbook.org/tdg/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407212035.s6LKZfBf028158>