Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0

name deb2targz
version 20021217
categories archivers
platforms darwin
maintainers nomaintainer@macports.org
description converts .deb packages to .tar.gz archives
long_description deb2targz is a very small perl script for converting \
Debian Linux style .deb packages to a friendly .tar.gz. deb2targz \
does not need any external programs like ar or tar.

homepage http://www.miketaylor.org.uk/tech/deb/
master_sites http://critical.ch/distfiles/ freebsd
checksums md5 faa652c6447bd04ebb89d5d23c54f9a3

depends_run bin:perl:perl5.8

patch {
reinplace "s|/usr/bin/perl -w|/usr/bin/env perl|g" ${worksrcpath}/deb2targz
}

configure {}
build {}

destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/deb2targz ${destroot}${prefix}/bin
}