1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/sysutils/fusefs-encfs/Makefile
Tijl Coosemans b57f1f574b - USES=gmake libtool pkgconfig.
- Replace a patch with --with-boost-system=boost_system in CONFIGURE_ARGS.
- Add USE_OPENSSL=yes.
- Staging.
- Use option helpers.
- Fix build with libc++ by replacing shared_ptr with boost::shared_ptr.

PR:		ports/185943
2014-03-05 11:01:24 +00:00

40 lines
978 B
Makefile

# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
PORTNAME= encfs
PORTVERSION= 1.7.4
PORTREVISION= 4
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX= fusefs-
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= An encrypted pass-through FUSE filesystem
LIB_DEPENDS= librlog.so:${PORTSDIR}/devel/rlog \
libboost_serialization.so:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/encfs-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-boost-serialization=boost_serialization \
--with-boost-system=boost_system \
--with-boost-filesystem=boost_filesystem
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= fuse gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_OPENSSL= yes
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${FIND} ${WRKSRC}/encfs -type f | ${XARGS} ${REINPLACE_CMD} -E \
's/(^|[[:space:]])(shared_ptr)/\1boost::\2/g'
.include <bsd.port.mk>