aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unrar/Makefile
blob: 29f9e119bb34fce78838bf92e7b3aa948592f427 (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
33
34
35
# New ports collection makefile for:    unrar
# Date created:         28 Dec 1994
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   unrar
PORTVERSION=    4.10
PORTEPOCH=  5
CATEGORIES+=    archivers
MASTER_SITES=   http://www.rarlab.com/rar/
DISTNAME=   unrarsrc-4.1.3

MAINTAINER?=    sunpoet@FreeBSD.org
COMMENT=    Extract, view & test RAR archives

WRKSRC=     ${WRKDIR}/unrar

CONFLICTS?= zh-unrar-[0-9].* unrar-iconv-[0-9].*
USE_GMAKE=  yes
MAKEFILE=   makefile.unix

PLIST_FILES=    bin/unrar
PORTDOCS=   license.txt readme.txt

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/unrar ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
.endif

.include <bsd.port.mk>