aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-actions/Makefile
blob: 20ca6668933b29ce2fc3b6fa04f91ff54744de4b (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
# 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=   1
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
USE_LIBTOOL_VER=15
USE_PYTHON= yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-nautilus-extdir=${X11BASE}/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>