aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unfoo/Makefile
blob: 8521b90e5b5bd59d7aa1617f212e99ffe4a81ed5 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   unfoo
PORTVERSION=    1.0.7
DISTVERSIONPREFIX=  v
CATEGORIES= archivers

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

RUN_DEPENDS=    unace:archivers/unace \
        unrar:archivers/unrar \
        7z:archivers/p7zip

USE_GITHUB= yes
GH_ACCOUNT= vitaminmoo

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

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

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

.include <bsd.port.mk>