summaryrefslogtreecommitdiff
path: root/sysutils/zisofs-tools/Makefile
blob: 2a93e211acfe49b4b2a9b5d7c0961bc46508b57b (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
# Created by: Nosov Artem <chip-set@mail.ru>
# $FreeBSD$

PORTNAME=	zisofs-tools
PORTVERSION=	1.0.8
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_KERNEL_ORG}
MASTER_SITE_SUBDIR=	linux/utils/fs/zisofs

MAINTAINER=	chip-set@mail.ru
COMMENT=	User utilities for zisofs

PORTDOCS=	CHANGES COPYING INSTALL MRULES README

USE_AUTOTOOLS=	autoconf
USE_BZIP2=	yes
USE_GMAKE=	yes
GNU_CONFIGURE=	yes

MAKE_ARGS+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include"

MAN1=		mkzftree.1

PLIST_FILES=	bin/mkzftree

OPTIONS_DEFINE=	LFS DOCS
OPTIONS_DEFAULT=	LFS
LFS_DESC=	Enable Large Files Support

.include <bsd.port.options.mk>

.if ! ${PORT_OPTIONS:MLFS}
CONFIGURE_ARGS+=	--disable-largefile
.endif

post-install:
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>