pkgsrc/converters/wv2/Makefile

36 lines
931 B
Makefile
Raw Normal View History

2016-08-03 12:22:08 +02:00
# $NetBSD: Makefile,v 1.39 2016/08/03 10:22:09 adam Exp $
#
DISTNAME= wv2-0.2.3
2016-08-03 12:22:08 +02:00
PKGREVISION= 12
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
USE_TOOLS+= pkg-config
2006-05-12 22:48:37 +02:00
USE_LANGUAGES= c c++
# DragonFly's iconv(3) doesn't pass the configure check
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
USE_GNU_ICONV= yes
.elif ${OPSYS} == "Darwin"
USE_BUILTIN.iconv= no
.endif
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=${BUILDLINK_PREFIX.iconv}
2004-04-15 13:46:47 +02:00
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libgsf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"