freebsd-ports/archivers/libunrar/Makefile
Baptiste Daroussin 2c6af503e0 Support stage
2013-12-26 14:36:02 +00:00

27 lines
666 B
Makefile

# Created by: samm@os2.kiev.ua
# $FreeBSD$
PORTNAME= libunrar
PORTVERSION= 3.9.10
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 archives
WRKSRC= ${WRKDIR}/unrar
USES= gmake
MAKEFILE= makefile.unix
ALL_TARGET= lib
USE_LDCONFIG= yes
do-install:
${INSTALL_LIB} ${WRKSRC}/libunrar.so.3 ${STAGEDIR}${PREFIX}/lib/
cd ${STAGEDIR}${PREFIX}/lib && ${LN} -sf libunrar.so.3 libunrar.so
${MKDIR} ${STAGEDIR}${PREFIX}/include/libunrar3
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${STAGEDIR}${PREFIX}/include/libunrar3/dll.hpp
.include <bsd.port.mk>