pkgsrc/archivers/unalz/Makefile
2012-09-11 19:46:58 +00:00

34 lines
837 B
Makefile

# $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"