1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- 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
This commit is contained in:
Dmitry Marakasov 2017-01-15 09:01:15 +00:00
parent d02eae1e93
commit 60b8fd8d4a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431538
2 changed files with 12 additions and 13 deletions

View File

@ -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
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>

View File

@ -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)