2012-03-29 09:38:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2012/03/29 13:38:13 sthen Exp $
|
2001-05-05 19:11:14 -04:00
|
|
|
|
2007-08-25 09:51:08 -04:00
|
|
|
COMMENT= character set conversion library
|
2001-03-11 20:32:04 -05:00
|
|
|
|
2011-09-02 11:44:46 -04:00
|
|
|
DISTNAME= libiconv-1.14
|
2001-03-11 20:32:04 -05:00
|
|
|
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
|
2001-03-11 20:32:04 -05:00
|
|
|
|
2001-10-10 15:01:38 -04:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/libiconv/
|
2001-03-11 20:32:04 -05:00
|
|
|
|
2007-08-25 09:51:08 -04:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
2001-03-11 20:32:04 -05:00
|
|
|
|
2011-06-14 17:31:04 -04:00
|
|
|
# LGPLv2 and GPLv3
|
2001-03-11 20:32:04 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-05-28 16:03:13 -04:00
|
|
|
WANTLIB= c
|
2009-04-24 14:56:49 -04:00
|
|
|
|
2010-11-14 19:22:45 -05:00
|
|
|
BUILD_DEPENDS= devel/gperf
|
2002-01-07 10:13:42 -05:00
|
|
|
|
2011-06-14 17:31:04 -04:00
|
|
|
MAKE_FLAGS= INSTALL_DATA=cp
|
|
|
|
|
2008-05-28 16:03:13 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2012-03-29 09:38:12 -04:00
|
|
|
SEPARATE_BUILD= Yes
|
2009-04-24 14:56:49 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2008-05-28 16:03:13 -04:00
|
|
|
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 \
|
2008-05-28 16:03:13 -04:00
|
|
|
--enable-extra-encodings \
|
2009-04-24 14:56:49 -04:00
|
|
|
--enable-static
|
2008-06-18 15:50:31 -04:00
|
|
|
CONFIGURE_ENV= am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
|
2005-12-21 09:43:58 -05:00
|
|
|
|
2007-11-19 08:12:57 -05:00
|
|
|
pre-configure:
|
2008-05-28 16:03:13 -04:00
|
|
|
@cd ${WRKSRC}; \
|
2009-04-24 14:56:49 -04:00
|
|
|
${SETENV} ${CONFIGURE_ENV} ${MAKE} -f Makefile.devel lib/aliases.h
|
2007-11-19 08:12:57 -05:00
|
|
|
|
2001-03-11 20:32:04 -05:00
|
|
|
.include <bsd.port.mk>
|