aboutsummaryrefslogtreecommitdiff
path: root/sysutils/avfs/Makefile
blob: 788096a89697b479643ad2d45a6cfcc115d15b30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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

DEPRECATED=	Broken for more than 6 month
EXPIRATION_DATE=	2013-08-27
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_DEFINE=	DEBUG LIBRARY FUSE
OPTIONS_DEFAULT=	FUSE
LIBRARY_DESC=	Enable library
FUSE_DESC=	Enable fuse

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDEBUG}
CONFIGURE_ARGS+=	--enable-debug
.else
CONFIGURE_ARGS+=	--disable-debug
.endif

.if ${PORT_OPTIONS:MLIBRARY}
CONFIGURE_ARGS+=	--enable-library
PLIST_SUB+=	LIBRARY=""
.else
CONFIGURE_ARGS+=	--disable-library
PLIST_SUB+=	LIBRARY="@comment "
.endif

.if ${PORT_OPTIONS:MFUSE}
CONFIGURE_ARGS+=	--enable-fuse
PLIST_SUB+=	FUSE=""
.else
CONFIGURE_ARGS+=	--disable-fuse
PLIST_SUB+=	FUSE="@comment "
.endif

.include <bsd.port.mk>