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

CATEGORIES= devel python
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

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

LIB_DEPENDS=    gamin-1.1:${PORTSDIR}/devel/gamin

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

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"