diff options
author | Koop Mast <kwm@FreeBSD.org> | 2012-12-09 20:00:19 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2012-12-09 20:00:19 +0000 |
commit | fc3f626ffc8d5964eda4f43ffef5165cc051ddb9 (patch) | |
tree | 19645feca89c7f596d581ef67fdffd151d7df886 /converters | |
parent | fc2432f78514651c9d3adba8508d58a268ff99bb (diff) | |
download | ports-fc3f626ffc8d5964eda4f43ffef5165cc051ddb9.tar.gz ports-fc3f626ffc8d5964eda4f43ffef5165cc051ddb9.zip |
Notes
Diffstat (limited to 'converters')
-rw-r--r-- | converters/libiconv/Makefile | 32 | ||||
-rw-r--r-- | converters/libiconv/distinfo | 2 |
2 files changed, 17 insertions, 17 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index ddec8effa5a0..bdc415cb8f7a 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: libiconv -# Date created: 17 July 2000 -# Whom: Maxim Sobolev <sobomax@FreeBSD.org> -# +# Created by: Maxim Sobolev <sobomax@FreeBSD.org> # $FreeBSD$ -# PORTNAME= libiconv PORTVERSION= 1.14 @@ -28,29 +24,31 @@ MAKE_JOBS_UNSAFE= yes MAN1= iconv.1 MAN3= iconv.3 iconv_open.3 iconv_open_into.3 iconv_close.3 iconvctl.3 -OPTIONS= EXTRA_ENCODINGS "Include extra character sets" on -# EXTRA_PATCHES "Apply patches to fix CP932, add EUCJP-MS" off +OPTIONS_DEFINE= ENCODINGS PATCHES +OPTIONS_DEFAULT=ENCODINGS +ENCODINGS_DESC= Include extra character sets +PATCHES_DESC= Apply patches to fix CP932, add EUCJP-MS .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 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if !defined(WITHOUT_EXTRA_ENCODINGS) +.if ${PORT_OPTIONS:MENCODINGS} 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:C/1\.13\.1/1.13/}-ja-1.patch.gz -#PATCH_DIST_STRIP+= -p1 -#.endif +.if ${PORT_OPTIONS:MPATCHES} +PATCH_SITES+= http://apolloron.org/software/libiconv-1.14-ja/ +PATCH_SITES+= ${MASTER_SITE_LOCAL} +PATCH_SITE_SUBDIR+= kwm +PATCHFILES+= ${DISTNAME}-ja-1.patch.gz +PATCH_DIST_STRIP+= -p1 +.endif post-patch: @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/converters/libiconv/distinfo b/converters/libiconv/distinfo index 692f78bac944..57fd4d50a5dc 100644 --- a/converters/libiconv/distinfo +++ b/converters/libiconv/distinfo @@ -1,2 +1,4 @@ SHA256 (libiconv-1.14.tar.gz) = 72b24ded17d687193c3366d0ebe7cde1e6b18f0df8c55438ac95be39e8a30613 SIZE (libiconv-1.14.tar.gz) = 4984397 +SHA256 (libiconv-1.14-ja-1.patch.gz) = cb82aa499b028a34d61fde1c3aa41f106cddf4a25d7c778a0180d633808d7cf9 +SIZE (libiconv-1.14-ja-1.patch.gz) = 291963 |