summaryrefslogtreecommitdiffstats
path: root/archivers/libunrar/Makefile
blob: 2e3392e70a2a6ad31cc03ab3a81962f36401f70a (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
# Created by: samm@os2.kiev.ua
# $FreeBSD$

PORTNAME=	libunrar
PORTVERSION=	3.9.10
PORTEPOCH=	1
CATEGORIES=	archivers
MASTER_SITES=	http://www.rarlab.com/rar/
DISTNAME=	unrarsrc-${PORTVERSION}

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

WRKSRC=		${WRKDIR}/unrar

USES=		gmake
MAKEFILE=	makefile.unix
ALL_TARGET=	lib
USE_LDCONFIG=	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>
OpenPOWER on IntegriCloud