# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/sysutils/fusefs-cryptofs/Makefile 313633 2013-03-08 10:51:34Z kwm $

PORTNAME=	cryptofs
PORTVERSION=	0.6.0
PORTREVISION=	4
CATEGORIES=	sysutils
MASTER_SITES=	http://reboot78.re.funpic.de/cryptofs/
PKGNAMEPREFIX=	fusefs-

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A encrypted filesystem for FUSE

LIB_DEPENDS=	gcrypt.18:${PORTSDIR}/security/libgcrypt \
		glib-2.0:${PORTSDIR}/devel/glib20

USE_BZIP2=	yes
GNU_CONFIGURE=	yes
USE_PKGCONFIG=	build
USES=		fuse

PLIST_FILES=	bin/cryptofs

.if !defined(NOPORTDOCS)
PORTDOCS=	README cryptofs.conf
post-install:
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif

.include <bsd.port.mk>
