mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-11 02:50:24 +00:00
a5f9cc91c2
x11-fonts/, x11-toolkits and x11-wm to new USES=python Approved by: portmgr (implicit)
34 lines
1.0 KiB
Makefile
34 lines
1.0 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>
|