aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/deb2targz/Makefile
blob: 6e870d9452948c5c68af9123b23e3a3a2f435a4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# New ports collection makefile for:    deb2targz
# Date created:             27 Sep 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   deb2targz
PORTVERSION=    20021217
CATEGORIES= archivers perl5
MASTER_SITES=   CRITICAL

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>