mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
38 lines
859 B
Makefile
38 lines
859 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
|
|
USES= pkgconfig
|
|
USE_GNOME= gnomehack gnomeprefix ltverhack
|
|
USE_LDCONFIG= yes
|
|
|
|
NO_STAGE= 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>
|