aboutsummaryrefslogtreecommitdiff
path: root/archivers/kzip/Makefile
blob: a79d6f34b82a3fc38b9384c1d3af573b24191dec (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
# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$

PORTNAME=	kzip
DISTVERSION=	20070805
CATEGORIES=	archivers linux
MASTER_SITES=	http://static.jonof.id.au.nyud.net/dl/kenutils/
DISTNAME=	kzipmix-${DISTVERSION}-linux-static

MAINTAINER=	lioux@FreeBSD.org
COMMENT=	PKZIP-compatible compressor focusing on space over speed

NO_CDROM=	License does not allow redistribution
NO_PACKAGE=	${NO_CDROM}
RESTRICTED=	${NO_CDROM}

ONLY_FOR_ARCHS=	i386

NO_STAGE=	yes
USE_LINUX=	yes
NO_BUILD=	yes
WRKSRC=		${WRKDIR}/kzipmix-static

FILES=		kzip-static

.for file in ${FILES}
PLIST_FILES+=	bin/${file:S/-static$//}
.endfor

post-extract:
.for file in ${FILES}
	@${BRANDELF} -t Linux ${WRKSRC}/${file}
.endfor

do-install:
.for file in ${FILES}
	@${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin/${file:S/-static$//}
.endfor

.include <bsd.port.mk>