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

PORTNAME=       roxlib
PORTVERSION=        1.9.12
PORTREVISION=   1
CATEGORIES=     devel python
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= rox
PKGNAMEPREFIX=      ${PYTHON_PKGNAMEPREFIX}
DISTNAME=       rox-lib-${PORTVERSION}
EXTRACT_SUFX=       .tgz

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

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>