1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/archivers/libunrar/Makefile
Marcus Alves Grando f27c11db12 - Fix 100% cpu load
- Bump PORTREVISION

PR:		94600
Submitted by:	maintainer
Thanks to:	McMCC
2006-03-17 12:54:26 +00:00

37 lines
886 B
Makefile

# New ports collection makefile for: unrar
# Date created: 23 Sep 2005
# Whom: samm@os2.kiev.ua
#
# $FreeBSD$
#
PORTNAME= libunrar
PORTVERSION= 3.54
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= 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.4
MAINTAINER= samm@os2.kiev.ua
COMMENT= Library to work with RAR archivies
WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
MAKE_ENV+= CXX="${CXX}" LDFLAGS="${LDFLAGS}"
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>