Date: Thu, 12 Nov 2015 17:23:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r401385 - head/textproc/dtdinst Message-ID: <201511121723.tACHN63P005665@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Nov 12 17:23:06 2015 New Revision: 401385 URL: https://svnweb.freebsd.org/changeset/ports/401385 Log: - Add NO_ARCH - Switch to options helpers Modified: head/textproc/dtdinst/Makefile Modified: head/textproc/dtdinst/Makefile ============================================================================== --- head/textproc/dtdinst/Makefile Thu Nov 12 17:22:56 2015 (r401384) +++ head/textproc/dtdinst/Makefile Thu Nov 12 17:23:06 2015 (r401385) @@ -14,9 +14,8 @@ COMMENT= Converts DTDs to XML instance, LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/copying.txt -OPTIONS_DEFINE= DOCS EXAMPLES - NO_BUILD= yes +NO_ARCH= yes USES= zip USE_JAVA= yes @@ -25,15 +24,21 @@ PORTDOCS= * PORTEXAMPLES= * PLIST_FILES= %%JAVAJARDIR%%/dtdinst.jar share/xsl/dtdinst/dtdinst2rng.xsl +OPTIONS_DEFINE= DOCS EXAMPLES + do-install: @${MKDIR} ${STAGEDIR}${JAVAJARDIR} (cd ${WRKSRC} && ${INSTALL_DATA} *.jar ${STAGEDIR}${JAVAJARDIR}) @${MKDIR} ${STAGEDIR}${PREFIX}/share/xsl/dtdinst (cd ${WRKSRC} && ${INSTALL_DATA} *.xsl ${STAGEDIR}${PREFIX}/share/xsl/dtdinst) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in dtdinst.rnc.txt dtdinst.rng index.html teixml.dtd.txt (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor + +do-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/example && ${INSTALL_DATA} * ${STAGEDIR}${EXAMPLESDIR})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511121723.tACHN63P005665>