mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
33 lines
877 B
Makefile
33 lines
877 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libmspub
|
|
PORTVERSION= 0.1.2
|
|
PORTREVISION= 1
|
|
CATEGORIES= print graphics devel
|
|
MASTER_SITES= http://dev-www.libreoffice.org/src/${PORTNAME}/
|
|
PKGNAMESUFFIX= 01
|
|
|
|
MAINTAINER= office@FreeBSD.org
|
|
COMMENT= Library and tools for parsing Microsoft Publisher file format
|
|
|
|
LICENSE= LGPL21 MPL GPLv2
|
|
LICENSE_COMB= dual
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/include/boost/ptr_container/ptr_map.hpp:${PORTSDIR}/devel/boost-libs
|
|
LIB_DEPENDS= libicui18n.so:${PORTSDIR}/devel/icu \
|
|
librevenge-0.0.so:${PORTSDIR}/textproc/librevenge
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
USES= libtool pathfix pkgconfig tar:xz
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFIGURE_ARGS= --disable-werror --without-docs
|
|
CONFIGURE_ENV= ZLIB_CFLAGS="-I/usr/include" ZLIB_LIBS="-lz"
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,zlib,,g" ${WRKSRC}/libmspub.pc.in
|
|
|
|
.include <bsd.port.mk>
|