freebsd-ports/archivers/libunrar/Makefile
Cheng-Lung Sung 3f5a1f3ea6 - Update to 3.7.4
PR:		ports/110605
Submitted by:	maintainer (Alex Samorukov)
2007-03-22 01:08:27 +00:00

36 lines
891 B
Makefile

# New ports collection makefile for: unrar
# Date created: 23 Sep 2005
# Whom: samm@os2.kiev.ua
#
# $FreeBSD$
#
PORTNAME= libunrar
PORTVERSION= 3.7.4
PORTEPOCH= 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-${PORTVERSION}
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
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>