a5f9cc91c2
x11-fonts/, x11-toolkits and x11-wm to new USES=python Approved by: portmgr (implicit)
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# Created by: Jacob Frelinger <jacob.frelinger@duke.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= traitsgui
|
|
PORTVERSION= 3.1.0
|
|
PORTREVISION= 7
|
|
CATEGORIES= x11-toolkits python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= TraitsGUI-${PORTVERSION}
|
|
|
|
MAINTAINER= jacob.frelinger@duke.edu
|
|
COMMENT= Gui toolkit derived from the Enthought python traits library
|
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}traitsbackendwx>=3.1.0:${PORTSDIR}/x11-toolkits/py-traitsbackendwx
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/examples \
|
|
&& ${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} ${STAGEDIR}${DOCSDIR}/\{} \; \
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
|
|
|
|
.include <bsd.port.mk>
|