aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-ui/Makefile
blob: acf3536599843f30605b9812a43af8d4d4da510b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ex:ts=8
# New ports collection makefile for:    py-ui
# Date created:         Jan 25, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   ui
PORTVERSION=    0.93
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pyui
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   pyui${PORTVERSION:S/.//}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A user interface library written in Python

RUN_DEPENDS=    \
    ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game \
    ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl \
    ${PYTHON_SITELIBDIR}/PIL/Image.py:${PORTSDIR}/graphics/py-imaging \
    ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twisted

USE_ZIP=    yes
USE_PYTHON= yes
WRKSRC=     ${WRKDIR}/pyui
NO_BUILD=   yes

do-install:
    @${MKDIR} ${PYTHON_SITELIBDIR}/pyui
    ${CP} -R ${WRKSRC}/pyui/* ${PYTHON_SITELIBDIR}/pyui
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif

.include <bsd.port.mk>