diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-30 06:42:06 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-30 06:42:06 +0800 |
commit | 1241e14b888b9ac032171597ad5a020f89a3d870 (patch) | |
tree | a024797fe802633793716825856ac5bcdd7212c9 /converters/libiconv/Makefile | |
parent | 5047d092c7a2a1b0cbe18944fc3f6074efb89801 (diff) | |
download | marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar.gz marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar.bz2 marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar.lz marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar.xz marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.tar.zst marcuscom-ports-1241e14b888b9ac032171597ad5a020f89a3d870.zip |
Update to 1.11. Test this thoroughly.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9096 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r-- | converters/libiconv/Makefile | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile new file mode 100644 index 000000000..d7ef30c89 --- /dev/null +++ b/converters/libiconv/Makefile @@ -0,0 +1,57 @@ +# New ports collection makefile for: libiconv +# Date created: 17 July 2000 +# Whom: Maxim Sobolev <sobomax@FreeBSD.org> +# +# $FreeBSD: ports/converters/libiconv/Makefile,v 1.39 2007/02/01 02:41:21 kris Exp $ +# + +PORTNAME= libiconv +PORTVERSION= 1.11 +CATEGORIES= converters devel +MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A character set conversion library + +USE_AUTOTOOLS= libtool:15 +GNU_CONFIGURE= yes +USE_GNOME= gnometarget +LIBTOOLFILES= configure libcharset/configure +CONFIGURE_ARGS= --enable-static \ + --without-libintl-prefix \ + --mandir=${PREFIX}/man \ + --docdir=${DOCSDIR} +USE_LDCONFIG= yes + +MAN1= iconv.1 +MAN3= iconv.3 iconv_open.3 iconv_close.3 iconvctl.3 + +.ifdef USE_ICONV +.error USE_ICONV is defined as an environment variable, or in the arguments \ + to "make". Please unset it and restart the build. +.endif + +.if !defined(WITHOUT_EXTRA_ENCODINGS) +CONFIGURE_ARGS+= --enable-extra-encodings +.endif + +#.if defined(WITH_EXTRA_PATCHES) +#PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ +#PATCH_SITES+= ${MASTER_SITE_LOCAL} +#PATCH_SITE_SUBDIR= nork +#PATCHFILES+= ${DISTNAME}-cp932.patch.gz +#PATCH_DIST_STRIP+= -p1 +#.endif + +pre-everything:: + @${ECHO_MSG} "" + @${ECHO_MSG} "libiconv has the following tunable option(s):" + @${ECHO_MSG} " WITHOUT_EXTRA_ENCODINGS=yes Disable extra character sets" +# @${ECHO_MSG} " WITH_EXTRA_PATCHES=yes Apply extra patches (fixes cp932, adds EUCJP-MS)" + @${ECHO_MSG} "" + +post-patch: + @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h + +.include <bsd.port.mk> |