1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/archivers/libunrar/Makefile
Stefan Eßer 98f7d7db7e Fix CONFLICTS entries in archivers, astro, audio
Fix conflicts entries based on a script that searches for duplicate
files installed by several ports.

Some patters seem to make ports conflict with themselves, but this is
actually not the case due to the check-*-conflicts logic implemented
in bsd.port.mk, which excludes self-conflicts.

PHP based ports have been ignored in this commit as requested by the
committers currently working on the php-8.1 import.

Approved by:	portmgr (implicit)
2022-01-13 22:01:28 +01:00

30 lines
703 B
Makefile

# Created by: samm@freebsd.org
PORTNAME= libunrar
PORTVERSION= 3.9.10
PORTEPOCH= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rarlab.com/rar/
DISTNAME= unrarsrc-${PORTVERSION}
MAINTAINER= samm@FreeBSD.org
COMMENT= Library to work with RAR archives
WRKSRC= ${WRKDIR}/unrar
USES= gmake
CONFLICTS_INSTALL= libunrar6 # lib/libunrar.so
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>