summaryrefslogtreecommitdiffstats
path: root/deskutils/nautilus-locked-folder
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 20:56:23 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2009-09-27 20:56:23 +0800
commit052a9e011c3c6a288ece4dab60a9dd2030322da6 (patch)
tree9b82e5b5889ef684e2d9bfd9d72f06a691aecabe /deskutils/nautilus-locked-folder
parent48511e073bf632760a1796985411362cf1423ad7 (diff)
downloadmarcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar.gz
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar.bz2
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar.lz
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar.xz
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.tar.zst
marcuscom-ports-052a9e011c3c6a288ece4dab60a9dd2030322da6.zip
Fix build.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13047 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/nautilus-locked-folder')
-rw-r--r--deskutils/nautilus-locked-folder/Makefile36
-rw-r--r--deskutils/nautilus-locked-folder/distinfo3
-rw-r--r--deskutils/nautilus-locked-folder/files/patch-configure11
-rw-r--r--deskutils/nautilus-locked-folder/files/patch-src_Makefile.in11
-rw-r--r--deskutils/nautilus-locked-folder/files/patch-src_lockedfolder.h10
-rw-r--r--deskutils/nautilus-locked-folder/pkg-descr6
6 files changed, 77 insertions, 0 deletions
diff --git a/deskutils/nautilus-locked-folder/Makefile b/deskutils/nautilus-locked-folder/Makefile
new file mode 100644
index 000000000..6dd944446
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: nautilus-locked-folder
+# Date created: 2005-09-17
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD: ports/deskutils/nautilus-locked-folder/Makefile,v 1.17 2009/08/02 19:33:00 mezz Exp $
+# $MCom: ports/deskutils/nautilus-locked-folder/Makefile,v 1.9 2009/04/07 03:12:16 marcus Exp $
+#
+
+PORTNAME= nautilus-locked-folder
+PORTVERSION= 1.0.0
+PORTREVISION= 8
+CATEGORIES= deskutils security
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= pav
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Nautilus plugin that allows you to encrypt the contents of a folder
+
+USE_AUTOTOOLS= libtool:22
+GNU_CONFIGURE= yes
+USE_GNOME= nautilus2 eel2 libgnomeui
+PKGCONFIGS= gtk+-2.0 libglade-2.0 libnautilus-extension libgnomeui-2.0
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags ${PKGCONFIGS}`" \
+ LDFLASG="-L${LOCALBASE}/lib `pkg-config --libs ${PKGCONFIGS}`" \
+ LIBS="-lssl"
+PLIST_FILES= lib/nautilus/extensions-2.0/libnautilus-locked-folder.a \
+ lib/nautilus/extensions-2.0/libnautilus-locked-folder.la \
+ lib/nautilus/extensions-2.0/libnautilus-locked-folder.so
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/icons/hicolor/32x32/stock/data/|${LOCALBASE}/share/icons/hicolor/32x32/stock/data/|' \
+ ${WRKSRC}/src/lockedfolder-extension.c
+ @${REINPLACE_CMD} -e 's|gladedir)"\\" \\|gladedir)"\\"|g ; \
+ s|.*-Werror||g' ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/deskutils/nautilus-locked-folder/distinfo b/deskutils/nautilus-locked-folder/distinfo
new file mode 100644
index 000000000..e1eaf91dc
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/distinfo
@@ -0,0 +1,3 @@
+MD5 (nautilus-locked-folder-1.0.0.tar.gz) = b83dd18fa26b524a61f6d61bfbcaf55c
+SHA256 (nautilus-locked-folder-1.0.0.tar.gz) = d806007493359d6501a8f9696fba8f9960a456a319a5fe58cb534453d2d75602
+SIZE (nautilus-locked-folder-1.0.0.tar.gz) = 336027
diff --git a/deskutils/nautilus-locked-folder/files/patch-configure b/deskutils/nautilus-locked-folder/files/patch-configure
new file mode 100644
index 000000000..f6801cb4b
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Aug 31 07:17:44 2005
++++ configure Sat Sep 17 00:31:55 2005
+@@ -19277,7 +19277,7 @@
+ echo "$as_me:$LINENO: checking for libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED glib-2.0 >= $GLIB_REQUIRED openssl >= $OPENSSL_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" >&5
+ echo $ECHO_N "checking for libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED glib-2.0 >= $GLIB_REQUIRED openssl >= $OPENSSL_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED... $ECHO_C" >&6
+
+- if $PKG_CONFIG --exists "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED glib-2.0 >= $GLIB_REQUIRED openssl >= $OPENSSL_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" ; then
++ if $PKG_CONFIG --exists "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED glib-2.0 >= $GLIB_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED" ; then
+ echo "$as_me:$LINENO: result: yes" >&5
+ echo "${ECHO_T}yes" >&6
+ succeeded=yes
diff --git a/deskutils/nautilus-locked-folder/files/patch-src_Makefile.in b/deskutils/nautilus-locked-folder/files/patch-src_Makefile.in
new file mode 100644
index 000000000..8e8f2e24a
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2008-03-18 11:10:04.000000000 -0400
++++ src/Makefile.in 2008-03-18 11:10:10.000000000 -0400
+@@ -229,7 +229,7 @@
+
+
+ # FIXME: get this from the .pc file
+-nautilus_extensiondir = $(libdir)/nautilus/extensions-1.0
++nautilus_extensiondir = $(libdir)/nautilus/extensions-2.0
+ nautilus_extension_LTLIBRARIES = libnautilus-locked-folder.la
+ libnautilus_locked_folder_la_SOURCES = \
+ encrypt.c decrypt.c lockedfolder-extension.c lockedfolder.h
diff --git a/deskutils/nautilus-locked-folder/files/patch-src_lockedfolder.h b/deskutils/nautilus-locked-folder/files/patch-src_lockedfolder.h
new file mode 100644
index 000000000..0690536e1
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/files/patch-src_lockedfolder.h
@@ -0,0 +1,10 @@
+--- src/lockedfolder.h.orig 2009-01-11 13:41:26.000000000 -0500
++++ src/lockedfolder.h 2009-01-11 13:41:33.000000000 -0500
+@@ -20,6 +20,7 @@ Boston, MA 02111-1307, USA. */
+ #define LF_ENCRYPT 1
+ #define LF_DECRYPT 0
+
++#include <sys/types.h>
+ #include <glade/glade.h>
+
+
diff --git a/deskutils/nautilus-locked-folder/pkg-descr b/deskutils/nautilus-locked-folder/pkg-descr
new file mode 100644
index 000000000..a3afbc579
--- /dev/null
+++ b/deskutils/nautilus-locked-folder/pkg-descr
@@ -0,0 +1,6 @@
+This is a plugin for Nautilus that adds a 'Lock folder' item to the
+right-click menus of folders. Locking a folder encrypts its contents
+and converts it into a '.locked' format archive. This archive can then
+be decrypted by right-clicking it and selecting 'Unlock folder'.
+
+WWW: http://www.gnome.org/projects/nautilus-locked-folders/