freebsd-ports/sysutils/avfs/Makefile
Baptiste Daroussin da12e6723d Convert USE_FUSE macros into USES feature.
While here trim headers
Convert some USE_GNOME= gnomehack -> USES= pathfix
2013-03-06 16:52:02 +00:00

54 lines
1 KiB
Makefile

# Created by: Evgeny Zhirnov <jirnov@gmail.com>
# $FreeBSD$
PORTNAME= avfs
PORTVERSION= 0.9.9
CATEGORIES= sysutils
MASTER_SITES= SF/avf/${PORTNAME}/${PORTVERSION}
MAINTAINER= jirnov@gmail.com
COMMENT= A Virtual File System
BUILD_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
BROKEN= does not package
NO_INSTALL_MANPAGES= yes
CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib -liconv
GNU_CONFIGURE= yes
USES= fuse
USE_GMAKE= yes
USE_BZIP2= yes
USE_LDCONFIG= yes
OPTIONS= DEBUG "Enable debug" off \
LIBRARY "Enable library" off \
FUSE "Enable fuse" on
.include <bsd.port.pre.mk>
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+= --enable-debug
.else
CONFIGURE_ARGS+= --disable-debug
.endif
.if defined(WITH_LIBRARY)
CONFIGURE_ARGS+= --enable-library
PLIST_SUB+= LIBRARY=""
.else
CONFIGURE_ARGS+= --disable-library
PLIST_SUB+= LIBRARY="@comment "
.endif
.if defined(WITH_FUSE)
CONFIGURE_ARGS+= --enable-fuse
PLIST_SUB+= FUSE=""
.else
CONFIGURE_ARGS+= --disable-fuse
PLIST_SUB+= FUSE="@comment "
.endif
.include <bsd.port.post.mk>