1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/archivers/libunrar/Makefile
Volker Stolz f30d62d384 Update to 3.7.8
PR:		ports/118410
Submitted by:	Dima Panov
Approved by:	maintainer
2008-03-24 05:59:39 +00:00

33 lines
729 B
Makefile

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