aboutsummaryrefslogtreecommitdiff
path: root/converters/libiconv/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-11 17:48:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-06-11 17:48:42 +0000
commitc24a4bb0fc6c47220e441be3a1a7244f9a32f9aa (patch)
tree2e2db29ab145bb5a0af8e4f0042e5a9ee78ada98 /converters/libiconv/Makefile
parenta54a9ec4a2dedfec2f1d83c08376535e73cc98e1 (diff)
downloadports-c24a4bb0fc6c47220e441be3a1a7244f9a32f9aa.tar.gz
ports-c24a4bb0fc6c47220e441be3a1a7244f9a32f9aa.zip
Update to 1.9.1.
PR: 52893 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Notes
Notes: svn path=/head/; revision=82800
Diffstat (limited to 'converters/libiconv/Makefile')
-rw-r--r--converters/libiconv/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile
index 650cf358ebfa..131b8e24538b 100644
--- a/converters/libiconv/Makefile
+++ b/converters/libiconv/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libiconv
-PORTVERSION= 1.8
-PORTREVISION= 2
+PORTVERSION= 1.9.1
CATEGORIES= converters devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,7 +14,9 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
COMMENT= A character set conversion library
+USE_REINPLACE= yes
USE_LIBTOOL= yes
+USE_GNOME= gnometarget
LIBTOOLFILES= configure libcharset/configure
CONFIGURE_ARGS= --enable-static \
--without-libintl-prefix
@@ -24,17 +25,7 @@ INSTALLS_SHLIB= yes
MAN1= iconv.1
MAN3= iconv.3 iconv_open.3 iconv_close.3
-.include <bsd.port.pre.mk>
+post-patch:
+ @${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h
-# gperf 2.7.2 required
-.if ${OSVERSION} < 430000
-BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
-GPERF= ${LOCALBASE}/bin/gperf
-.else
-GPERF= /usr/bin/gperf
-.endif
-
-pre-build:
- @cd ${WRKSRC} ; ${GPERF} -t -L ANSI-C -H aliases_hash -N aliases_lookup -G -W aliases -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>