Commit da12e672 authored by Baptiste Daroussin's avatar Baptiste Daroussin
Browse files

Convert USE_FUSE macros into USES feature.

While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
parent ffc075db
# $FreeBSD$
#
# handle dependency on the fuse port
#
# MAINTAINER: portmgr@FreeBSD.org
#
.if !defined(_INCLUDE_FUSE_MK)
_INCLUDE_FUSE_MK= yes
LIB_DEPENDS+= fuse:${PORTSDIR}/sysutils/fusefs-libs
.if !exists(/sbin/mount_fusefs)
RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
.endif
.endif
......@@ -408,9 +408,6 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# - Legal values are: gamin (default),fam
# If set to an unknown value, the port is marked IGNORE.
##
# USE_FUSE - If set, make sure necessary components unavailable in base
# are installed from ports.
##
# USE_AUTOTOOLS - If set, this port uses various GNU autotools
# (libtool, autoconf, autoheader, automake et al.)
# See bsd.autotools.mk for more details.
......@@ -1854,13 +1851,6 @@ IGNORE= cannot be built with unknown FAM system: ${FAM_SYSTEM}
.endif
.endif # USE_FAM
.if defined(USE_FUSE)
LIB_DEPENDS+= fuse:${PORTSDIR}/sysutils/fusefs-libs
.if !exists(/sbin/mount_fusefs)
RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
.endif
.endif
.if defined(USE_RC_SUBR) && ${USE_RC_SUBR:U} != "YES"
SUB_FILES+= ${USE_RC_SUBR}
.endif
......
......@@ -44,7 +44,7 @@ CONFIGURE_ARGS+=--with-text-scope
.endif
.if ${PORT_OPTIONS:MFUSE}
USE_FUSE= yes
USES+= fuse
MAN1+= uadefs.1
PLIST_SUB+= FUSE=""
.else
......
# New ports collection makefile for: gvfs
# Date created: 2007-11-06
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/devel/gvfs/Makefile,v 1.70 2011/01/31 19:06:42 kwm Exp $
#
......@@ -40,7 +37,7 @@ OPTIONS= FUSE "Enable fuse" off \
.include <bsd.port.pre.mk>
.if defined(WITH_FUSE)
USE_FUSE= yes
USES+= fuse
PLIST_SUB+= FUSE=""
.else
CONFIGURE_ARGS+= --disable-fuse
......
# New ports collection makefile for: libewf
# Date created: 31 May 2012
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= libewf
PORTVERSION= 20120813
......@@ -18,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= uuid:${PORTSDIR}/misc/e2fsprogs-libuuid \
USE_FUSE= yes
USES= fuse
USE_GETTEXT= yes
USE_ICONV= yes
USE_LDCONFIG= yes
......
......@@ -13,9 +13,8 @@ LICENSE= LGPL3
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-python
USE_FUSE= yes
USES= fuse pathfix
USE_GETTEXT= yes
USE_GNOME= gnomehack
USE_ICONV= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
......
# New ports collection makefile for: libvshadow
# Date created: 31 May 2012
# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
#
# Created by: MANTANI Nobutaka <nobutaka@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= libvshadow
PORTVERSION= 20130113
......@@ -17,9 +13,8 @@ COMMENT= A library to support the Volume Service Snapshot (VSS) format
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/COPYING
USE_FUSE= yes
USES= fuse pathfix
USE_GETTEXT= yes
USE_GNOME= gnomehack
USE_ICONV= yes
USE_PYTHON= yes
USE_LDCONFIG= yes
......
# New ports collection makefile for: py-fusefs
# Date created: 22 July 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= fusefs
DISTVERSION= 0.2.1
......@@ -15,7 +11,7 @@ DISTNAME= fuse-python-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= FUSE Python bindings
USE_FUSE= yes
USES= fuse
USE_PYTHON= yes
USE_PKGCONFIG= yes
USE_PYDISTUTILS=easy_install
......
......@@ -49,7 +49,7 @@ CONFLICTS= open-vm-tools-nox11-[0-9]*
.endif
.if !defined(WITHOUT_FUSE)
USE_FUSE= yes
USES= fuse
PLIST_SUB+= FUSE=""
.else
PLIST_SUB+= FUSE="@comment "
......
# New ports collection makefile for: gphotofs
# Date created: 21 June 2006
# Whom: Pav Lucistnik <pav@FreeBSD.org>
#
# Created by: Pav Lucistnik <pav@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= gphotofs
PORTVERSION= 0.4.0
......@@ -17,8 +13,8 @@ COMMENT= Mount PTP camera as a file system
LIB_DEPENDS= gphoto2.2:${PORTSDIR}/graphics/libgphoto2
USES= fuse
USE_BZIP2= yes
USE_FUSE= yes
USE_GNOME= glib20
GNU_CONFIGURE= yes
......
......@@ -75,7 +75,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \
${CONFIGURE_TARGET}
.if ${PORT_OPTIONS:MFUSE}
USE_FUSE= yes
USES+= fuse
PLIST_SUB+= FUSE=""
.else
CONFIGURE_ARGS+= --disable-fuse-client
......
......@@ -22,7 +22,7 @@ RUN_DEPENDS= sudo:${PORTSDIR}/security/sudo
WRKSRC= ${WRKDIR}/truecrypt-${PORTVERSION}-source
USE_FUSE= yes
USES= fuse
USE_GMAKE= yes
USE_ICONV= yes
RESTRICTED= Downloading requires acceptance of license agreement
......
# Ports collection makefile for: afflib
#
# Date created: 15/02/2008
# Whom: Chris Calvey <chris@securityforensics.co.uk>
#
# Created by: Chris Calvey <chris@securityforensics.co.uk>
# $FreeBSD$
#
PORTNAME= afflib
PORTVERSION= 3.7.1
......@@ -23,10 +18,9 @@ LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2 \
USE_LDCONFIG= yes
USE_OPENSSL= yes
USE_ICONV= yes
USE_FUSE= yes
USES= fuse pathfix
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_GNOME= gnomehack
USE_AUTOTOOLS= autoconf
CONFIGURE_ARGS= --enable-s3=yes --libdir=${PREFIX}
CPPFLAGS+= -DFUSE_USE_VERSION=26
......
# New ports collection makefile for: archivemount
# Date created: 2008-06-20
# Whom: Evgeny Zhirnov <jirnov@gmail.com>
#
# Created by: Evgeny Zhirnov <jirnov@gmail.com>
# $FreeBSD$
#
PORTNAME= archivemount
PORTVERSION= 0.6.1
......@@ -19,7 +15,7 @@ MAN1= archivemount.1
GNU_CONFIGURE= yes
NO_INSTALL_MANPAGES= yes
USE_FUSE= yes
USES= fuse
USE_GMAKE= yes
USE_ICONV= yes
USE_PKGCONFIG= yes
......
# New ports collection makefile for: avfs
# Date created: 2008-06-14
# Whom: Evgeny Zhirnov <jirnov@gmail.com>
#
# Created by: Evgeny Zhirnov <jirnov@gmail.com>
# $FreeBSD$
#
PORTNAME= avfs
PORTVERSION= 0.9.9
......@@ -22,7 +18,7 @@ NO_INSTALL_MANPAGES= yes
CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -liconv
GNU_CONFIGURE= yes
USE_FUSE= yes
USES= fuse
USE_GMAKE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
......
......@@ -15,7 +15,7 @@ BUILD_DEPENDS= iconv:${PORTSDIR}/converters/libiconv
PLIST_FILES= bin/${PORTNAME}
GNU_CONFIGURE= yes
USE_FUSE= yes
USES= fuse
USE_GNOME= pkgconfig
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-fuse-prefix=${LOCALBASE} \
......
# New ports collection makefile for: afuse
# Date created: 03 March 2009
# Whom: Alexander Logvinov <ports@logvinov.com>
# Created by: Alexander Logvinov <ports@logvinov.com>
# $FreeBSD$
#
PORTNAME= afuse
PORTVERSION= 0.2
......@@ -20,7 +17,7 @@ GNU_CONFIGURE= yes
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/${PORTNAME}
USE_FUSE= yes
USES= fuse
USE_PKGCONFIG= yes
MAN1= afuse.1
......
# New ports collection makefile for: fusefs-chironfs
# Date created: 2008-04-06
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= chironfs
PORTVERSION= 1.1.1
......@@ -18,7 +14,7 @@ COMMENT= A FUSE based filesystem with replication at the filesystem level
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_FUSE= yes
USES= fuse
PLIST_FILES= bin/chironfs bin/chirctl
PORTDOCS= *
......
# New ports collection makefile for: fusefs-cryptofs
# Date created: 2008-05-21
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# Created by: Yen-Ming Lee <leeym@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= cryptofs
PORTVERSION= 0.6.0
......@@ -20,7 +16,7 @@ LIB_DEPENDS= gcrypt.18:${PORTSDIR}/security/libgcrypt \
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_FUSE= yes
USES= fuse
PLIST_FILES= bin/cryptofs
......
# New ports collection makefile for: fusefs-curlftpfs
# Date created: 25 May 2006
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
#
PORTNAME= curlftpfs
PORTVERSION= 0.9.2
......@@ -18,7 +14,7 @@ COMMENT= Mount remote ftp directories
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl
GNU_CONFIGURE= yes
USE_FUSE= yes
USES= fuse
USE_GNOME= glib20
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/curlftpfs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment