summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-locked-folder/Makefile
blob: b7825d3403212058163092fda7effdd87412d029 (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-locked-folder
# Date created:     2005-09-17
# Whom:         Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#    $MCom$
#

PORTNAME=   nautilus-locked-folder
PORTVERSION=    1.0.0
CATEGORIES= deskutils security
MASTER_SITES=   http://www.ids.org.au/~jam6/locked-folders/

MAINTAINER= ahze@FreeBSD.org
COMMENT=    Nautilus plugin that allows you to encrypt the contents of a folder

USE_LIBTOOL_VER=15
USE_REINPLACE=  yes
USE_X_PREFIX=   yes
USE_GNOME=  nautilus2
PKGCONFIGS= gtk+-2.0 libglade-2.0 libnautilus-extension libgnomeui-2.0
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include `pkg-config --cflags ${PKGCONFIGS}`" \
        LDFLASG="-L${LOCALBASE}/lib -L${X11BASE}/lib `pkg-config --libs ${PKGCONFIGS}`" \
        LIBS="-lssl"
PLIST_FILES=    lib/nautilus/extensions-1.0/libnautilus-locked-folder.so

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/share/icons/hicolor/32x32/stock/data/|${X11BASE}/share/icons/hicolor/32x32/stock/data/|' \
        ${WRKSRC}/src/lockedfolder-extension.c

.include <bsd.port.mk>