2004-08-31 21:24:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2004/08/31 19:24:42 reed Exp $
|
2001-01-01 18:29:20 +01:00
|
|
|
#
|
|
|
|
|
2003-07-13 15:32:29 +02:00
|
|
|
DISTNAME= libiconv-1.9.1
|
2004-04-28 17:19:04 +02:00
|
|
|
PKGREVISION= 2
|
2001-01-01 18:29:20 +01:00
|
|
|
CATEGORIES= converters
|
2002-07-12 08:37:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
|
2001-01-01 18:29:20 +01:00
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= rh@NetBSD.org
|
update to 1.7
changes:
* Added UTF-32, UTF-32BE, UTF-32LE converters.
* Changed CP1255, CP1258 and TCVN converters to handle combining characters.
* Changed EUC-JP, SHIFT-JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1
converters to use fullwidth Yen sign instead of halfwidth Yen sign, and
fullwidth tilde instead of halfwidth tilde.
* Upgraded EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to Unicode 3.1.
* Changed the GB18030 converter to not reject unassigned and private-use
Unicode characters.
* Fixed a bug in the byte order mark treatment of the UCS-4 decoder.
* The manual pages are now distributed also in HTML format.
2001-10-30 18:41:19 +01:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/libiconv/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Character set conversion library
|
2001-01-01 18:29:20 +01:00
|
|
|
|
2004-01-05 12:17:10 +01:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
|
|
|
USE_BUILDLINK3= YES
|
2003-07-28 12:11:45 +02:00
|
|
|
USE_PKGINSTALL= YES
|
2001-01-01 18:29:20 +01:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2004-08-31 21:24:42 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Linux"
|
|
|
|
# don't use PKG_SKIP_REASON yet so we can make sure the buildlinking is correct
|
|
|
|
PKG_FAIL_REASON+= "${PKGNAME} is not needed for Linux; it is included in GNU libc."
|
|
|
|
.endif
|
|
|
|
|
2003-07-12 15:13:46 +02:00
|
|
|
TEST_TARGET= check
|
|
|
|
|
2003-07-28 12:11:45 +02:00
|
|
|
EGDIR= ${PREFIX}/share/examples/libiconv
|
|
|
|
SUPPORT_FILES= ${EGDIR}/charset.alias ${PREFIX}/lib/charset.alias
|
|
|
|
|
2004-04-02 21:08:37 +02:00
|
|
|
MAKE_ENV+= PAX="${PAX}"
|
2004-03-02 06:01:38 +01:00
|
|
|
|
2002-05-10 14:16:41 +02:00
|
|
|
# remove any existing charset.alias; if it already exists, libiconv does
|
|
|
|
# not overwrite it, and older versions of libiconv wrote incorrect
|
|
|
|
# charset.alias files, which were not removed during deinstall since
|
|
|
|
# other packages touched them.
|
|
|
|
pre-install:
|
|
|
|
${RM} -f ${PREFIX}/lib/charset.alias
|
|
|
|
|
2003-02-28 23:15:29 +01:00
|
|
|
# be sure to install a new charset.alias
|
|
|
|
post-install:
|
2003-07-28 12:11:45 +02:00
|
|
|
cd ${WRKSRC}/libcharset/lib && ${MAKE} libdir=${EGDIR} \
|
|
|
|
install-charset-alias
|
2003-02-28 23:15:29 +01:00
|
|
|
|
2001-01-01 18:29:20 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|