Date: Sun, 15 Jan 2017 09:01:15 +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: r431538 - in head/textproc/xsv: . files Message-ID: <201701150901.v0F91Fx7060449@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sun Jan 15 09:01:15 2017 New Revision: 431538 URL: https://svnweb.freebsd.org/changeset/ports/431538 Log: - Add LICENSE_FILE - Switch to options helpers - Remove USE_LDCONFIG and CFLAGS, add NO_ARCH: this does not use C compiler and does not install shared libs Modified: head/textproc/xsv/Makefile head/textproc/xsv/files/patch-setup.py Modified: head/textproc/xsv/Makefile ============================================================================== --- head/textproc/xsv/Makefile Sun Jan 15 09:00:18 2017 (r431537) +++ head/textproc/xsv/Makefile Sun Jan 15 09:01:15 2017 (r431538) @@ -11,26 +11,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= XML Schema Validator LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ltxml>0:textproc/py-ltxml USES= python USE_PYTHON= distutils autoplist -USE_LDCONFIG= yes +NO_ARCH= yes PORTDOCS= pc-shrinkwrap xsv-status.xml xsv-status.html PORTEXAMPLES= triv.xml triv.xsd tiny.xml tiny.xsd -OPTIONS_DEFINE= DOCS EXAMPLES - -.include <bsd.port.pre.mk> -.if ${ARCH} == "amd64" || ${ARCH} == "ia64" -CFLAGS+= -fPIC -.endif +OPTIONS_DEFINE= DOCS EXAMPLES -post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/textproc/xsv/files/patch-setup.py ============================================================================== --- head/textproc/xsv/files/patch-setup.py Sun Jan 15 09:00:18 2017 (r431537) +++ head/textproc/xsv/files/patch-setup.py Sun Jan 15 09:01:15 2017 (r431538) @@ -1,6 +1,6 @@ ---- ./setup.py.orig 2008-01-18 13:17:40.000000000 +0100 -+++ ./setup.py 2014-03-23 02:06:18.690868591 +0100 -@@ -16,20 +16,10 @@ +--- setup.py.orig 2008-01-18 12:17:40 UTC ++++ setup.py +@@ -16,20 +16,10 @@ class smart_install_data(install_data): self.install_dir = getattr(install_cmd, 'install_lib') return install_data.run(self)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701150901.v0F91Fx7060449>