aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-gamin/Makefile
blob: 2d71d38d7e7c696ddc15351830e74999dafae4f8 (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
# New ports collection makefile for:   py-gamin
# Date Created:         24 March 2005
# Whom:             Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTREVISION=   1
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
USE_FAM=    yes
WANT_FAM_SYSTEM=gamin

GAMIN_SLAVE=    yes

USE_GNOME=  gnomehack gnometarget
USE_PYTHON= yes
CONFIGURE_ARGS= --with-python=${LOCALBASE} \
        --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc

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

.include "${MASTERDIR}/Makefile"