summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-actions/Makefile
blob: c3e32089a7a584d9dd77910e8b7604700c8254c4 (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
35
36
37
38
39
40
41
42
43
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD: head/deskutils/nautilus-actions/Makefile 335773 2013-12-06 16:32:34Z kwm $
#   $MCom$

PORTNAME=   nautilus-actions
PORTVERSION=    3.2.4
CATEGORIES= deskutils
MASTER_SITES=   GNOME

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

LIB_DEPENDS=    libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid \
        libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libgtop-2.0.so:${PORTSDIR}/devel/libgtop \
        libunique-3.0.so:${PORTSDIR}/x11-toolkits/libunique3

USES=       gettext gmake libtool pkgconfig tar:xz
USE_GNOME=  gtk30 nautilus3
INSTALLS_ICONS= yes
INSTALLS_OMF=   yes
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
CONFIGURE_ARGS= --with-nautilus-extdir=${LOCALBASE}/lib/nautilus/extensions-3.0 \
        --with-default-io-provider=na-desktop \
        --with-gtk=3 \
        --disable-gconf
INSTALL_TARGET= install-strip

PORTDOCS=   AUTHORS ChangeLog ChangeLog-2008 ChangeLog-2009 ChangeLog-2010 \
        ChangeLog-2011 ChangeLog-2012 COPYING COPYING-DOCS INSTALL \
        MAINTAINERS NEWS README README-GCONF TODO

.include <bsd.port.options.mk>

post-patch:
    @${REINPLACE_CMD} -e 's|-Werror"|"|g' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's|doc/@PACKAGE@-@VERSION@|doc/@PACKAGE@|g' \
        ${WRKSRC}/Makefile.in ${WRKSRC}/docs/Makefile.in

.include <bsd.port.mk>