aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-roxlib/Makefile
blob: dd9819e28153f0e61606a5d580de843a33843bdd (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
# Ports collection Makefile for:    py-roxlib
# Date created:             Jan 12 2003
# Whom:                 olgeni@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   roxlib
PORTVERSION=    2.0.5
CATEGORIES= devel python
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   rox-lib2-${PORTVERSION}

MAINTAINER= olgeni@FreeBSD.org
COMMENT=    Python libraries for ROX

USE_BZIP2=  yes
USE_PYTHON= yes

RUN_DEPENDS=    ${LOCALBASE}/bin/rox:${PORTSDIR}/x11-fm/rox-filer \
        ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2

do-build:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
    @cd ${WRKSRC}/ROX-Lib2/python && ${PYTHON_CMD} make_docs.py

do-install:
    @${CP} -r ${WRKSRC}/ROX-Lib2 ${PREFIX}/lib
    @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/ROX-Lib2

.include <bsd.port.mk>