freebsd-ports/archivers/libunrar/Makefile
Alexander Logvinov cd2f5a6cbe - Update to 3.9.6
PR:		ports/139223
Submitted by:	Alex Samorukov <samm at os2.kiev.ua> (maintainer)
Approved by:	tabthorpe, glarkin (mentors, implicit)
Feature safe:	yes
2009-09-29 00:34:45 +00:00

32 lines
738 B
Makefile

# New ports collection makefile for: unrar
# Date created: 23 Sep 2005
# Whom: samm@os2.kiev.ua
#
# $FreeBSD$
#
PORTNAME= libunrar
PORTVERSION= 3.9.6
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 archivies
WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
MAKE_ENV= 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>