2008-05-28 16:03:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2008/05/28 20:03:13 naddy 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
|
|
|
|
2008-05-28 16:03:13 -04:00
|
|
|
DISTNAME= libiconv-1.12
|
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/}
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += charset 1.0 # .1.0
|
2008-05-28 16:03:13 -04:00
|
|
|
SHARED_LIBS += iconv 5.0 # .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
|
|
|
|
2008-05-28 16:03:13 -04:00
|
|
|
# LGPL, 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
|
|
|
|
BUILD_DEPENDS= ::devel/gperf
|
2002-01-07 10:13:42 -05:00
|
|
|
|
2008-05-28 16:03:13 -04: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
|
|
|
|
MAKE_FLAGS= INSTALL_DATA=cp
|
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}; \
|
|
|
|
${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>
|