aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rar/Makefile
blob: 30fdceaf7e790d3ce4f49567b4f1675128ed9170 (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
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    rar
# Date created:         15 May 1996
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   rar
PORTVERSION=    3.0b5
CATEGORIES= archivers
MASTER_SITES=   http://209.235.4.116/rar/ \
        ftp://pubftp.slovenska.sk/pub/rarsoft/rar/
DISTNAME=       rarbsd-3.0.b5

MAINTAINER= ache@FreeBSD.org

CAT1=       rar.1

ONLY_FOR_ARCHS= i386
NO_PACKAGE= Only unmodified original package can be distributed
NO_BUILD=   yes
WRKSRC=         ${WRKDIR}/rar

.include <bsd.port.pre.mk>

.if ${PORTOBJFORMAT} == "elf"
STRIP=
.endif

do-install:
    ${MKDIR} ${PREFIX}/share/doc/rar
    ${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/rar
    ${INSTALL_PROGRAM} ${WRKSRC}/rar ${PREFIX}/bin/unrar
    cd ${WRKSRC} && \
        ${INSTALL_MAN} rar.txt ${PREFIX}/man/cat1/rar.1 && \
        ${INSTALL_DATA} rar_faq.txt technote.txt license.txt \
                rar_site.txt register.txt order.txt \
                readme.txt rereg.txt whatsnew.txt \
                file_id.diz \
            ${PREFIX}/share/doc/rar && \
        ${INSTALL_DATA} rarfiles.lst \
            ${PREFIX}/etc && \
        ${INSTALL_DATA} default.sfx \
            ${PREFIX}/lib
    @${CAT} ${PKGDIR}/pkg-message

.include <bsd.port.post.mk>