summaryrefslogtreecommitdiff
path: root/archivers/unalz/Makefile
blob: 8e978702d4ab794267749d08af4ff27b37456e2b (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
33
34
# $NetBSD: Makefile,v 1.14 2012/09/11 19:47:02 asau 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

PKG_INSTALLATION_TYPES=	overwrite pkgviews

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"