1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00

- Convert to staging. [1]

- Set license (BSD). [1]
- Update maintainer address to wen@FreeBSD.org.
- Bump PORTREVISION.

PR:		188565 [1]
Submitted by:	Bartek Rutkowski <ports@robakdesign.com> [1] (mostly)
Approved by:	portmgr (blanket pre-approval)
This commit is contained in:
Gerald Pfeifer 2014-06-06 15:12:20 +00:00
parent 0915334a8d
commit a1445c3383
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356800

View File

@ -3,15 +3,17 @@
PORTNAME= traits
PORTVERSION= 3.6.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= http://www.enthought.com/repo/ETS/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Traits-${PORTVERSION}
MAINTAINER= wenheping@gmail.com
MAINTAINER= wen@FreeBSD.org
COMMENT= Explicitly Typed Attributes for Python
LICENSE= BSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}EnthoughtBase>=3.0.1:${PORTSDIR}/devel/py-EnthoughtBase \
${PYNUMPY}
RUN_DEPENDS:= ${BUILD_DEPENDS}
@ -21,20 +23,14 @@ USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= Traits
PYEASYINSTALL_ARCHDEP= yes
NO_STAGE= yes
post-install:
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples \
&& ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${EXAMPLESDIR}/\{} \;
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${EXAMPLESDIR}/\{} \;
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs \
&& ${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
.include <bsd.port.mk>