2016-08-03 12:22:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.39 2016/08/03 10:22:09 adam Exp $
|
2004-01-22 12:28:23 +01:00
|
|
|
#
|
|
|
|
|
2006-06-14 14:45:30 +02:00
|
|
|
DISTNAME= wv2-0.2.3
|
2016-08-03 12:22:08 +02:00
|
|
|
PKGREVISION= 12
|
2004-01-22 12:28:23 +01:00
|
|
|
CATEGORIES= converters
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wvware/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= markd@NetBSD.org
|
|
|
|
HOMEPAGE= http://wvware.sourceforge.net/
|
|
|
|
COMMENT= Library to access Microsoft Word files
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= pkg-config
|
2006-05-12 22:48:37 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2004-01-22 12:28:23 +01:00
|
|
|
|
2007-12-27 16:06:52 +01:00
|
|
|
# DragonFly's iconv(3) doesn't pass the configure check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
2014-06-19 09:14:04 +02:00
|
|
|
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
|
2007-12-27 16:06:52 +01:00
|
|
|
USE_GNU_ICONV= yes
|
2016-03-03 14:43:48 +01:00
|
|
|
.elif ${OPSYS} == "Darwin"
|
|
|
|
USE_BUILTIN.iconv= no
|
2007-12-27 16:06:52 +01:00
|
|
|
.endif
|
|
|
|
|
2004-01-22 12:28:23 +01:00
|
|
|
CONFIGURE_ARGS+= --disable-debug
|
2005-05-22 04:45:58 +02:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
|
|
|
|
|
|
|
|
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=${BUILDLINK_PREFIX.iconv}
|
2004-01-22 12:28:23 +01:00
|
|
|
|
2004-04-15 13:46:47 +02:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/libgsf/buildlink3.mk"
|
2004-01-22 12:28:23 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|