2014-07-23 08:20:48 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2014/07/23 06:20:48 wiz Exp $
|
2013-08-24 18:09:56 +02:00
|
|
|
|
2014-07-23 08:20:48 +02:00
|
|
|
DISTNAME= libmwaw-0.3.1
|
2013-08-24 18:09:56 +02:00
|
|
|
CATEGORIES= converters
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libmwaw/}
|
|
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
|
|
HOMEPAGE= http://sourceforge.net/p/libmwaw/wiki/Home/
|
|
|
|
COMMENT= Import library for pre-OSX Mac text formats
|
|
|
|
LICENSE= mpl-2.0 OR gnu-lgpl-v2
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
2014-06-01 05:57:47 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2013-09-17 23:17:43 +02:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --without-docs
|
|
|
|
|
2014-06-01 05:57:47 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-Werror
|
|
|
|
|
2013-09-17 23:17:43 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
CONFIGURE_ARGS+= --with-sharedptr=c++11
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --with-sharedptr=tr1
|
|
|
|
.endif
|
2013-08-24 18:09:56 +02:00
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= libmwaw.pc.in
|
|
|
|
|
2014-02-02 08:25:39 +01:00
|
|
|
.include "../../converters/libwpg/buildlink3.mk"
|
2014-07-23 08:20:48 +02:00
|
|
|
.include "../../converters/librevenge/buildlink3.mk"
|
2013-08-24 18:09:56 +02:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|