summaryrefslogblamecommitdiffstats
path: root/x11-fm/py-nautilus/Makefile
blob: 01f44c8343bb12de8a6053b0064d0181d2ef1410 (plain) (tree)




































                                                                                   
# New ports collection makefile for:    py-nautilus
# Date created:             31 May, 2005
# Whom:                 Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-fm/py-nautilus/Makefile,v 1.4 2005/10/02 23:53:38 marcus Exp $
#

PORTNAME=   nautilus
PORTVERSION=    0.5.0
CATEGORIES= x11-fm gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/nautilus-python/${PORTVERSION:R}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   nautilus-python-${PORTVERSION}

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

LIB_DEPENDS=    nautilus-extension:${PORTSDIR}/x11-fm/nautilus

USE_BZIP2=  yes
USE_X_PREFIX=   yes
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack pygnome2
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

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

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

.include <bsd.port.mk>