openbsd-ports/converters/libiconv/Makefile

40 lines
904 B
Makefile
Raw Normal View History

2006-01-10 06:35:14 -05:00
# $OpenBSD: Makefile,v 1.25 2006/01/10 11:35:14 espie Exp $
COMMENT= "character set conversion library"
DISTNAME= libiconv-1.9.2
2005-12-21 09:43:58 -05:00
PKGNAME= ${DISTNAME}p3
CATEGORIES= converters devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
2005-12-24 11:11:52 -05:00
SHARED_LIBS= charset 1.0 \
iconv 4.0
HOMEPAGE= http://www.gnu.org/software/libiconv/
MAINTAINER= Brad Smith <brad@openbsd.org>
2003-12-23 19:08:02 -05:00
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-21 17:53:58 -05:00
WANTLIB= c
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= autoconf
AUTOCONF_VERSION=2.57
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/autoconf ${WRKSRC}/libcharset/autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2002-06-12 23:45:57 -04:00
CONFIGURE_ARGS+= --enable-static \
--enable-extra-encodings \
2003-12-23 19:08:02 -05:00
--disable-nls \
--mandir=${PREFIX}/man
2005-12-21 09:43:58 -05:00
USE_LIBTOOL=Yes
.include <bsd.port.mk>
.if ${NO_SHARED_LIBS:L} == "no"
CONFIGURE_ENV= LIBTOOL_FLAGS="-fPIC -DPIC"
.endif