aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/py-nautilus/Makefile
blob: d4d489f3f33f5f884f936cf2493a3a1761497f4c (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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/x11-fm/py-nautilus/Makefile,v 1.11 2009/04/07 17:54:12 marcus Exp $

PORTNAME=   nautilus
PORTVERSION=    0.7.2
PORTREVISION=   1
CATEGORIES= x11-fm gnome python
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/nautilus-python/${PORTVERSION:R}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   nautilus-python-${PORTVERSION}

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Python nautilus bindings

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       gmake pkgconfig
USE_BZIP2=  yes
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_GNOME=  gnomeprefix gnomehack pygnome2 nautilus2
CONFIGURE_ENV=  PYTHON_VERSION="${PYTHON_VER}"

DOCSDIR=    ${PREFIX}/share/doc/nautilus-python

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|[(]datadir[)]/doc/|(prefix)/share/doc/|g' \
        ${WRKSRC}/examples/Makefile.in

.include <bsd.port.mk>