freebsd-ports/textproc/libwps/Makefile
2013-06-04 19:53:28 +00:00

35 lines
828 B
Makefile

# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
PORTNAME= libwps
PORTVERSION= 0.2.9
CATEGORIES= textproc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= A Microsoft file word processor format import filter library
LICENSE= LGPL21 MPL
LICENSE_COMB= dual
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd
OPTIONS_DEFINE= DOCS
CONFIGURE_ARGS= --disable-werror
CPPFLAGS+= -I${LOCALBASE}/include
USE_AUTOTOOLS= libtool
USE_GNOME= gnomehack gnomeprefix ltverhack
USE_LDCONFIG= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
PORTDOCS= *
.else
CONFIGURE_ARGS+=--without-docs
.endif
.include <bsd.port.mk>