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

PORTNAME=   unrar
PORTVERSION=    2.50
CATEGORIES= archivers
MASTER_SITES=        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=  ache

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>