summaryrefslogtreecommitdiff
path: root/archivers/unalz/Makefile
blob: 7e4b326d9b876ebe1c4f7f15490d0d7b0fdd80cf (plain)
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
# $NetBSD: Makefile,v 1.15 2014/10/09 14:05:54 wiz Exp $
#

DISTNAME=		unalz-0.61
CATEGORIES=		archivers
MASTER_SITES=		http://www.kipple.pe.kr/win/unalz/
EXTRACT_SUFX=		.tgz

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.kipple.pe.kr/win/unalz/
COMMENT=		Alzip archive (.alz) extractor

BUILD_TARGET=		posix-utf8
USE_LANGUAGES=		c c++
WRKSRC=			${WRKDIR}/unalz

INSTALLATION_DIRS=	bin

SUBST_CLASSES+=		d2u
SUBST_STAGE.d2u=	pre-configure
SUBST_FILES.d2u=	bzip2/*.[ch] zlib/*.[ch]
SUBST_FILTER_CMD.d2u=	${TR} -d '\r'
USE_TOOLS+=		tr

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/unalz ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"