Lines 6-24
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= libiconv |
8 |
PORTNAME= libiconv |
9 |
PORTVERSION= 1.13.1 |
9 |
PORTVERSION= 1.14 |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= converters devel |
10 |
CATEGORIES= converters devel |
12 |
MASTER_SITES= ${MASTER_SITE_GNU} |
11 |
MASTER_SITES= GNU |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
|
|
14 |
|
12 |
|
15 |
MAINTAINER= gnome@FreeBSD.org |
13 |
MAINTAINER= gnome@FreeBSD.org |
16 |
COMMENT= A character set conversion library |
14 |
COMMENT= A character set conversion library |
17 |
|
15 |
|
18 |
USE_AUTOTOOLS= libtool |
16 |
USE_AUTOTOOLS= libtool |
19 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
20 |
USE_CSTD= gnu89 |
18 |
LIBTOOLFILES= configure libcharset/configure preload/configure |
21 |
LIBTOOLFILES= configure libcharset/configure |
|
|
22 |
CONFIGURE_ARGS= --enable-static \ |
19 |
CONFIGURE_ARGS= --enable-static \ |
23 |
--without-libintl-prefix \ |
20 |
--without-libintl-prefix \ |
24 |
--docdir=${DOCSDIR} |
21 |
--docdir=${DOCSDIR} |
Lines 32-38
Link Here
|
32 |
MAN3= iconv.3 iconv_open.3 iconv_open_into.3 iconv_close.3 iconvctl.3 |
29 |
MAN3= iconv.3 iconv_open.3 iconv_open_into.3 iconv_close.3 iconvctl.3 |
33 |
|
30 |
|
34 |
OPTIONS= EXTRA_ENCODINGS "Include extra character sets" on \ |
31 |
OPTIONS= EXTRA_ENCODINGS "Include extra character sets" on \ |
35 |
EXTRA_PATCHES "Apply patches to fix CP932, add EUCJP-MS" off |
32 |
# EXTRA_PATCHES "Apply patches to fix CP932, add EUCJP-MS" off |
36 |
|
33 |
|
37 |
.ifdef USE_ICONV |
34 |
.ifdef USE_ICONV |
38 |
.error USE_ICONV is defined as an environment variable, or in the arguments \ |
35 |
.error USE_ICONV is defined as an environment variable, or in the arguments \ |
Lines 45-57
Link Here
|
45 |
CONFIGURE_ARGS+= --enable-extra-encodings |
42 |
CONFIGURE_ARGS+= --enable-extra-encodings |
46 |
.endif |
43 |
.endif |
47 |
|
44 |
|
48 |
.if defined(WITH_EXTRA_PATCHES) |
45 |
#.if defined(WITH_EXTRA_PATCHES) |
49 |
PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ |
46 |
#PATCH_SITES+= http://www2d.biglobe.ne.jp/~msyk/software/libiconv/ |
50 |
PATCH_SITES+= ${MASTER_SITE_LOCAL} |
47 |
#PATCH_SITES+= ${MASTER_SITE_LOCAL} |
51 |
PATCH_SITE_SUBDIR= nork |
48 |
#PATCH_SITE_SUBDIR= nork |
52 |
PATCHFILES+= ${DISTNAME:C/1\.13\.1/1.13/}-ja-1.patch.gz |
49 |
#PATCHFILES+= ${DISTNAME:C/1\.13\.1/1.13/}-ja-1.patch.gz |
53 |
PATCH_DIST_STRIP+= -p1 |
50 |
#PATCH_DIST_STRIP+= -p1 |
54 |
.endif |
51 |
#.endif |
55 |
|
52 |
|
56 |
post-patch: |
53 |
post-patch: |
57 |
@${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h |
54 |
@${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h |