aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unfoo/Makefile
blob: eed7a27101d0717e04af8d9496f19c1634d05aca (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
29
30
31
32
# New ports collection makefile for:    unfoo
# Date created:     13 August 2007
# Whom:         Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   unfoo
PORTVERSION=    1.0.6
CATEGORIES= archivers
MASTER_SITES=   CENKES
#http://obsoleet.org/code/unfoo/unfoo-1.0.6.sh

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tiny sh(1) wrapper to simplify decompression of files

RUN_DEPENDS=    unace:${PORTSDIR}/archivers/unace \
        unrar:${PORTSDIR}/archivers/unrar \
        unzip:${PORTSDIR}/archivers/unzip \
        7z:${PORTSDIR}/archivers/p7zip

NO_BUILD=   yes
USE_BZIP2=  yes
PLIST_FILES=    bin/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e '1s|/.*|/bin/sh|;s|==|=|' ${WRKSRC}/${PORTNAME}

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

.include <bsd.port.mk>