# New ports collection makefile for:	deb2targz
# Date created:				27 Sep 2005
# Whom:					Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD: ports/archivers/deb2targz/Makefile,v 1.4 2006/06/01 12:13:41 ehaupt Exp $
#

PORTNAME=	deb2targz
PORTVERSION=	20021217
CATEGORIES=	archivers perl5
MASTER_SITES=	http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	A command-line utility for converting a Debian .deb file to a .tar.gz

USE_PERL5=	yes
NO_BUILD=	yes

PLIST_FILES=	bin/deb2targz

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' \
		${WRKSRC}/${PORTNAME}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>
