mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
42b9350078
- depending fusefs ports are usable again PR: ports/114580 Submitted by: mm Approved by: maintainer (timeout), garga (mentor)
54 lines
1.4 KiB
Makefile
54 lines
1.4 KiB
Makefile
# New ports collection makefile for: fusefs-libs
|
|
# Date created: 01 October 2005
|
|
# Whom: Anish Mistry
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fusefs
|
|
PORTVERSION= 2.7.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= fuse
|
|
PKGNAMESUFFIX= -libs
|
|
DISTNAME= fuse-${PORTVERSION}
|
|
|
|
MAINTAINER= amistry@am-productions.biz
|
|
COMMENT= FUSE allows filesystem implementation in userspace
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= MOUNT_FUSE_PATH=${PREFIX}/sbin \
|
|
CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
CONFIGURE_ARGS= --disable-kernel-module --prefix=${PREFIX} \
|
|
--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
|
|
TXT_DOCS= how-fuse-works \
|
|
kernel.txt
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 600000
|
|
IGNORE= depends on kernel module that requires FreeBSD 6 or later
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' \
|
|
-e 's,-D_FILE_OFFSET_BITS=64,-D_FILE_OFFSET_BITS=64 ${PTHREAD_CFLAGS},' \
|
|
${WRKSRC}/fuse.pc.in
|
|
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' \
|
|
${WRKSRC}/lib/Makefile.in \
|
|
${WRKSRC}/example/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/include/fuse_kernel.h ${PREFIX}/include/fuse
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}/libs
|
|
.for i in ${TXT_DOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/doc/$i ${DOCSDIR}/libs
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|