summaryrefslogtreecommitdiff
path: root/archivers/unrar/Makefile
blob: c4e8aa105f3c36324b8cacac8ea95daa2974b0a2 (plain)
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
# New ports collection makefile for:    unrar
# Version required:     2.01
# Date created:         28 Dec 1994
# Whom:                 ache
#
# $NetBSD: Makefile,v 1.2 1997/10/27 03:22:24 hubertf Exp $
# FreeBSD Id: Makefile,v 1.10 1997/08/10 22:31:33 fenner Exp 
#

DISTNAME=       unrar-2.01
CATEGORIES=	archivers
MASTER_SITES=   ftp://ftp.kiarchive.ru/pub/unix/arcers/
EXTRACT_SUFX=   .tgz

MAINTAINER=     ache@FreeBSD.ORG

NO_WRKSUBDIR=   Yes

do-build:
	cd ${WRKSRC} && \
		${CC} ${CFLAGS} -D_UNIX unrar.c -o unrar

do-install:
	install -d -m 755 -o ${SHAREOWN} -g ${SHAREGRP} \
		${PREFIX}/share/doc/unrar
	cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
	cd ${WRKSRC} && ${INSTALL_MAN} readme.txt license.txt \
		${PREFIX}/share/doc/unrar

.include <bsd.port.mk>