summaryrefslogtreecommitdiffstats
path: root/archivers/unrar/Makefile
blob: ef3cbb3aa62b0e3f1c724b98abf1ff45c04d05e8 (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
#
# $Id: Makefile,v 1.11 1998/09/23 01:01:20 steve Exp $
#

DISTNAME=       unrar-2.06.1
CATEGORIES=	archivers
MASTER_SITES=   ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	utils/compress

MAINTAINER=     ache@FreeBSD.ORG

WRKSRC=		${WRKDIR}/${DISTNAME}/src

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

do-install:
	@cd ${WRKSRC} && ${INSTALL_PROGRAM} unrar ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/unrar
	@cd ${WRKDIR}/${DISTNAME} && ${INSTALL_MAN} README.TXT LICENSE.TXT \
		${PREFIX}/share/doc/unrar
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud