mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
40c9c7f7eb
- Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine
45 lines
1016 B
Makefile
45 lines
1016 B
Makefile
# Created by: Manuel Creach <manuel.creach@icloud.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= afpfs-ng
|
|
PORTVERSION= 0.8.1
|
|
PORTREVISION= 6
|
|
CATEGORIES= net
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= manuel.creach@icloud.com
|
|
COMMENT= Apple Filing Protocol client library
|
|
|
|
LICENSE= GPLv2
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
USES= autoreconf gmake iconv libtool readline tar:bzip2
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS+= -Wno-return-type
|
|
CPPFLAGS+= -D_FILE_OFFSET_BITS=64 -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
OPTIONS_DEFINE= FUSE GCRYPT
|
|
|
|
FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs
|
|
FUSE_CONFIGURE_ENABLE= fuse
|
|
|
|
GCRYPT_LIB_DEPENDS= libgcrypt.so:security/libgcrypt
|
|
GCRYPT_CONFIGURE_ENABLE=gcrypt
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MFUSE}
|
|
PLIST_FILES+= bin/afp_client bin/afpfs bin/afpfsd bin/mount_afp \
|
|
man/man1/afp_client.1.gz man/man1/afpfsd.1.gz \
|
|
man/man1/mount_afp.1.gz
|
|
.endif
|
|
|
|
post-configure:
|
|
@${REINPLACE_CMD} 's|LIBS = |LIBS = ${ICONV_LIB} |' \
|
|
${WRKSRC}/cmdline/Makefile
|
|
|
|
.include <bsd.port.mk>
|