openbsd-ports/converters/libiconv/Makefile

42 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.38 2010/10/31 16:03:52 naddy Exp $
COMMENT= character set conversion library
2009-04-24 14:56:49 -04:00
DISTNAME= libiconv-1.13
REVISION= 2
CATEGORIES= converters devel
2002-05-13 14:50:36 -04:00
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
2009-04-24 14:56:49 -04:00
2010-05-28 05:20:40 -04:00
SHARED_LIBS= charset 1.1 \
2009-04-24 14:56:49 -04:00
iconv 6.0
HOMEPAGE= http://www.gnu.org/software/libiconv/
MAINTAINER= Brad Smith <brad@comstyle.com>
2009-04-24 14:56:49 -04:00
# LGPLv2, GPLv3
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
2009-04-24 14:56:49 -04:00
BUILD_DEPENDS= ::devel/gperf
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
2009-04-24 14:56:49 -04:00
CONFIGURE_STYLE= gnu
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux ${WRKSRC}/libcharset/build-aux
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
2009-04-24 14:56:49 -04:00
--disable-nls \
--enable-extra-encodings \
2009-04-24 14:56:49 -04:00
--enable-static
CONFIGURE_ENV= am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
MAKE_FLAGS= INSTALL_DATA=cp
2005-12-21 09:43:58 -05:00
pre-configure:
@cd ${WRKSRC}; \
2009-04-24 14:56:49 -04:00
${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.devel lib/aliases.h
.include <bsd.port.mk>