aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unrar-iconv/Makefile
blob: a3f068b97b89011d799c668058bce6d7f2e70e70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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"