freebsd-ports/archivers/libunrar4/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

30 lines
695 B
Makefile

# New ports collection makefile for: unrar4
# Date created: 30 May 2011
# Whom: Joris Vandalon
#
# $FreeBSD$
#
PORTNAME= libunrar4
PORTVERSION= 4.0.7
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
DISTNAME= unrarsrc-${PORTVERSION}
MAINTAINER= joris@vandalon.nl
COMMENT= Library to work with RAR archivies
WRKSRC= ${WRKDIR}/unrar
USE_GMAKE= yes
MAKEFILE= makefile.unix
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/libunrar4
${INSTALL_DATA} ${WRKSRC}/dll.hpp ${PREFIX}/include/libunrar4/dll.hpp
.include <bsd.port.mk>