1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/archivers/unrar-iconv/Makefile
Sunpoet Po-Chuan Hsieh 37694a56b1 - Update to unrar 5.01 (5.0.14)
- Use = instead of +=
- Use CONFLICTS_INSTALL instead off CONFLICTS

Submitted by:	sunpoet (myself)
Approved by:	maintainer (no object, 3 weeks)
2014-02-28 15:15:19 +00:00

25 lines
655 B
Makefile

# Created by: Yarodin <yarodin@gmail.com>
# $FreeBSD$
PKGNAMESUFFIX= -iconv
MAINTAINER= yarodin@gmail.com
MASTERDIR= ${.CURDIR}/../unrar
EXTRA_PATCHES= ${.CURDIR}/files/patch-iconv
CPPFLAGS+= -DWITH_ICONV -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
USES= iconv
CONFLICTS_INSTALL= unrar-[0-9]* zh-unrar-[0-9]*
post-install:
@${ECHO_MSG} "===> Added iconv support, see new switches:"
@${ECHO_MSG} " la, ll and lo at \"unrar -?\""
@${ECHO_MSG} "===> REMEMBER!!!: Windows rar archives using old DOS encodings as internal encoding."
@${ECHO_MSG} " CP866 for russian lang for example."
.include "${MASTERDIR}/Makefile"