1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-toolkits/py-traitsgui/Makefile
Marcus von Appen a5f9cc91c2 - Convert ports from korean/, shells/, x11/, x11-clocks/, x11-fm/,
x11-fonts/, x11-toolkits and x11-wm to new USES=python

Approved by:	portmgr (implicit)
2014-10-19 18:16:15 +00:00

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>