aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/libunrar/Makefile
blob: 755687e73e1931d32188d53f2ebe14124c59aa79 (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
# New ports collection makefile for:    unrar
# Date created:             23 Sep 2005
# Whom:                 samm@os2.kiev.ua
#
# $FreeBSD$
#

PORTNAME=   libunrar
PORTVERSION=    3.53
PORTREVISION=   1
CATEGORIES= archivers
MASTER_SITES=   http://files1.rarlab.com/rar/ \
        http://files2.rarlab.com/rar/ \
        http://files3.rarlab.com/rar/ \
        http://files4.rarlab.com/rar/ \
        http://files5.rarlab.com/rar/ \
        http://files6.rarlab.com/rar/
DISTNAME=   unrarsrc-3.5.3

MAINTAINER= samm@os2.kiev.ua
COMMENT=    Library to work with RAR archivies

WRKSRC=     ${WRKDIR}/unrar

USE_GMAKE=  yes
MAKEFILE=   makefile.unix
ALL_TARGET= lib
INSTALLS_SHLIB= yes

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so.3 ${PREFIX}/lib/
    cd ${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so
    ${MKDIR} ${PREFIX}/include/libunrar3
    ${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar3/dll.hpp

.include <bsd.port.mk>