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

PORTNAME=   zisofs-tools
PORTVERSION=    1.0.8
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   KERNEL_ORG/linux/utils/fs/zisofs

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

PORTDOCS=   CHANGES COPYING INSTALL MRULES README

USES=       gmake tar:bzip2 desthack
GNU_CONFIGURE=  yes

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

PLIST_FILES=    bin/mkzftree \
        man/man1/mkzftree.1.gz

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:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>