# $NetBSD: Makefile,v 1.6 2019/11/02 22:54:28 rillig Exp $
#

DISTNAME=	trrntzip_v02_src
PKGNAME=	torrentzip-0.2
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=trrntzip/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://sourceforge.net/projects/trrntzip/
COMMENT=	Create identical zip archives from identical files

USE_TOOLS+=		aclocal autoconf automake autoheader
GNU_CONFIGURE=		yes
INSTALLATION_DIRS=	share/doc/torrentzip

WRKSRC=	${WRKDIR}/trrntzip

pre-configure:
	cd ${WRKSRC} && sh autogen.sh

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/torrentzip

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
