# $MidnightBSD: mports/archivers/torrentzip/Makefile,v 1.1 2009/11/01 15:51:07 laffer1 Exp $

PORTNAME=	torrentzip
PORTVERSION=	0.2
CATEGORIES=	archivers
MASTER_SITES=	SF/trrntzip/trrntzip/TorrentZip%20v${PORTVERSION}
DISTNAME=	trrntzip_v${PORTVERSION:S/.//}_src

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Efficient way to prepare zipfiles for BitTorrent
LICENSE=	gpl2

USE_AUTOTOOLS=	aclocal:19 automake:19 autoheader:262
AUTOMAKE_ARGS=		-a

WRKSRC=		${WRKDIR}/trrntzip

PLIST_FILES=	bin/trrntzip
PORTDOCS=	README

run-autotools:: run-autotools-aclocal run-autotools-autoheader \
		run-autotools-autoconf run-autotools-automake

.if !defined(NOPORTDOCS)
pre-install:
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README
.endif

.include <bsd.port.mk>
