blob: 568dd5f55e2f8b2661d6876c7abf7f45c03d144c (
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
|
# New ports collection makefile for: unrar4
# Date created: 30 May 2011
# Whom: Joris Vandalon
#
# $FreeBSD$
#
PORTNAME= libunrar4
PORTVERSION= 4.2.4
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
DISTNAME= unrarsrc-${PORTVERSION}
MAINTAINER= joris@vandalon.nl
COMMENT= Library to work with RAR archives
WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
ALL_TARGET= lib
USE_LDCONFIG= yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/libunrar.so ${PREFIX}/lib/libunrar.so.4
cd ${PREFIX}/lib && ${LN} -sf libunrar.so.4 libunrar.so
${MKDIR} ${PREFIX}/include/libunrar4
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar4/dll.hpp
.include <bsd.port.mk>
|