aboutsummaryrefslogtreecommitdiff
path: root/archivers/unfoo/Makefile
blob: 6b30d90c943837594c7ddf8bb05ab6f3587969c7 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>

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

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

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

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>