summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-actions/Makefile
blob: 73b5fcf46953a27648773b69953de1f52dac1753 (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
# New ports collection makefile for:    nautilus-actions
# Date created:     2005-08-31
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   nautilus-actions
PORTVERSION=    0.7.1
PORTREVISION=   3
CATEGORIES= deskutils
MASTER_SITES=   ftp://ftp2.grumz.net/grumz/

MAINTAINER= ahze@FreeBSD.org
COMMENT=    Extension for Nautilus to configure programs to launch on files

USE_GNOME=  nautilus2 intlhack pygtk2
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
USE_PYTHON= yes
USE_XLIB=   yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-nautilus-extdir=${LOCALBASE}/lib/nautilus/extensions-1.0

post-patch:
    @${REINPLACE_CMD} -e 's|@datadir@datadir@/pixmaps|${DATADIR}/nact|' \
        ${WRKSRC}/nact/nact.desktop.in.in

.include <bsd.port.mk>