1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/archivers/unrar-iconv/Makefile
Sunpoet Po-Chuan Hsieh 4f1e8addf2 - Fix build after removal of hardcoded CXX/CXXFLAGS
Submitted by:	sunpoet (myself)
Approved by:	Yar <yarodin@gmail.com> (maintainer)
2012-01-16 12:51:02 +00:00

29 lines
726 B
Makefile

# New ports collection makefile for: unrar-iconv
# Date created: 18 Oct 2007
# Whom: 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 -liconv
USE_ICONV= yes
CONFLICTS= 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"