aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-gamin/Makefile
blob: eeec5065d34f7807c1ffb49800705942ef58216e (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$

PORTREVISION=   3
CATEGORIES= devel python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Python interface to the Gamin file monitoring system

MASTERDIR=  ${.CURDIR}/../gamin
BUILD_WRKSRC=   ${WRKSRC}/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
DESCR=      ${.CURDIR}/pkg-descr
PLIST=      ${.CURDIR}/pkg-plist

GAMIN_SLAVE=    yes

USES=       fam:gamin python
CONFIGURE_ARGS= --with-python=${PYTHON_CMD} \
        --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc

post-install:
    @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}
    @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -l ${STAGEDIR}${PYTHON_SITELIBDIR}

.include "${MASTERDIR}/Makefile"