2008-06-18 19:50:31 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2008/06/18 19:50:31 naddy Exp $
|
2001-05-05 23:11:14 +00:00
|
|
|
|
2007-08-25 13:51:08 +00:00
|
|
|
COMMENT= character set conversion library
|
2001-03-12 01:32:04 +00:00
|
|
|
|
2008-05-28 20:03:13 +00:00
|
|
|
DISTNAME= libiconv-1.12
|
2001-03-12 01:32:04 +00:00
|
|
|
CATEGORIES= converters devel
|
2002-05-13 18:50:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=libiconv/}
|
2006-10-28 11:19:20 +00:00
|
|
|
SHARED_LIBS += charset 1.0 # .1.0
|
2008-05-28 20:03:13 +00:00
|
|
|
SHARED_LIBS += iconv 5.0 # .6.0
|
2001-03-12 01:32:04 +00:00
|
|
|
|
2001-10-10 19:01:38 +00:00
|
|
|
HOMEPAGE= http://www.gnu.org/software/libiconv/
|
2001-03-12 01:32:04 +00:00
|
|
|
|
2007-08-25 13:51:08 +00:00
|
|
|
MAINTAINER= Brad Smith <brad@comstyle.com>
|
2001-03-12 01:32:04 +00:00
|
|
|
|
2008-05-28 20:03:13 +00:00
|
|
|
# LGPL, GPLv3
|
2001-03-12 01:32:04 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2008-05-28 20:03:13 +00:00
|
|
|
WANTLIB= c
|
|
|
|
BUILD_DEPENDS= ::devel/gperf
|
2002-01-07 15:13:42 +00:00
|
|
|
|
2008-05-28 20:03:13 +00:00
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
SEPARATE_BUILD= simple
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/build-aux ${WRKSRC}/libcharset/build-aux
|
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static \
|
|
|
|
--enable-extra-encodings \
|
|
|
|
--disable-nls
|
2008-06-18 19:50:31 +00:00
|
|
|
CONFIGURE_ENV= am_cv_proto_iconv='extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);'
|
2008-05-28 20:03:13 +00:00
|
|
|
MAKE_FLAGS= INSTALL_DATA=cp
|
2005-12-21 14:43:58 +00:00
|
|
|
|
2007-11-19 13:12:57 +00:00
|
|
|
pre-configure:
|
2008-05-28 20:03:13 +00:00
|
|
|
@cd ${WRKSRC}; \
|
|
|
|
${SETENV} ${CONFIGURE_ENV} make -f Makefile.devel lib/aliases.h
|
2007-11-19 13:12:57 +00:00
|
|
|
|
2001-03-12 01:32:04 +00:00
|
|
|
.include <bsd.port.mk>
|