# New ports collection makefile for:    torrentzip
# Date created:         May 2, 2005
# Whom:                 swhetzel@gmail.com
#
# $FreeBSD: ports/archivers/torrentzip/Makefile,v 1.8 2009/08/22 00:12:55 amdmi3 Exp $
#

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

MAINTAINER=	swhetzel@gmail.com
COMMENT=	Efficient way to prepare zipfiles for BitTorrent

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>
