# Created by: Manuel Creach # $FreeBSD$ PORTNAME= afpfs-ng PORTVERSION= 0.8.1 PORTREVISION= 1 CATEGORIES= net MASTER_SITES= SF MAINTAINER= manuel.creach@icloud.com COMMENT= Apple Filing Protocol client library LICENSE= GPLv2 USES= iconv gmake USE_BZIP2= yes USE_AUTOTOOLS= aclocal autoheader automake autoconf libtoolize ACLOCAL_ARGS= -I. AUTOMAKE_ARGS= --add-missing USE_LDCONFIG= yes CFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include -Wno-return-type LDFLAGS+= -L${LOCALBASE}/lib MAN1= afpcmd.1 afpgetstatus.1 OPTIONS_DEFINE= FUSE GCRYPT FUSE_LIB_DEPENDS= libfuse.so:${PORTSDIR}/sysutils/fusefs-libs FUSE_CONFIGURE_ENABLE= fuse GCRYPT_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt GCRYPT_CONFIGURE_ENABLE=gcrypt NO_STAGE= yes .include .if ${PORT_OPTIONS:MFUSE} MAN1+= afp_client.1 afpfsd.1 mount_afp.1 PLIST_FILES+= bin/afp_client bin/afpfs bin/afpfsd bin/mount_afp .endif post-configure: @${REINPLACE_CMD} 's|LIBS = |LIBS = ${ICONV_LIB} |' \ ${WRKSRC}/cmdline/Makefile .include