2000-07-17 15:47:13 +00:00
|
|
|
# New ports collection makefile for: libiconv
|
|
|
|
# Date created: 17 July 2000
|
2000-11-01 15:51:11 +00:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-07-17 15:47:13 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libiconv
|
2002-06-16 19:11:11 +00:00
|
|
|
PORTVERSION= 1.8
|
2002-10-28 03:14:04 +00:00
|
|
|
PORTREVISION= 2
|
2000-07-17 15:47:13 +00:00
|
|
|
CATEGORIES= converters devel
|
2002-06-16 19:11:11 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2000-07-17 15:47:13 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2000-07-17 15:47:13 +00:00
|
|
|
|
2002-04-30 08:07:33 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFILES= configure libcharset/configure
|
2002-08-04 05:46:14 +00:00
|
|
|
CONFIGURE_ARGS= --enable-static \
|
|
|
|
--without-libintl-prefix
|
2000-07-17 15:47:13 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-03-18 09:43:25 +00:00
|
|
|
MAN1= iconv.1
|
|
|
|
MAN3= iconv.3 iconv_open.3 iconv_close.3
|
|
|
|
|
2002-05-23 05:57:20 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-05-28 03:04:43 +00:00
|
|
|
# gperf 2.7.2 required
|
2002-05-23 05:57:20 +00:00
|
|
|
.if ${OSVERSION} < 430000
|
2002-05-26 21:35:49 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf
|
2002-05-23 05:57:20 +00:00
|
|
|
GPERF= ${LOCALBASE}/bin/gperf
|
|
|
|
.else
|
|
|
|
GPERF= /usr/bin/gperf
|
|
|
|
.endif
|
|
|
|
|
2002-04-29 18:41:51 +00:00
|
|
|
pre-build:
|
2002-06-16 19:11:11 +00:00
|
|
|
@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
|
2002-04-29 18:41:51 +00:00
|
|
|
|
2002-05-23 05:57:20 +00:00
|
|
|
.include <bsd.port.post.mk>
|