openbsd-ports/textproc/libwpd/Makefile
2007-05-17 04:50:58 +00:00

40 lines
812 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/05/17 04:50:58 steven Exp $
COMMENT= "import and export WordPerfect(tm) documents"
DISTNAME= libwpd-0.8.9
PKGNAME= ${DISTNAME}p0
CATEGORIES= textproc
SHARED_LIBS= wpd 8.9 \
wpd-stream 8.9
HOMEPAGE= http://libwpd.sourceforge.net/
MAINTAINER= Robert Nagy <robert@openbsd.org>
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwpd/}
WANTLIB= c m stdc++ z bz2 glib-2.0 gobject-2.0 iconv intl xml2
LIB_DEPENDS= gsf-1::devel/libgsf
REGRESS_DEPENDS= ::devel/cppunit
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
pre-configure:
@cd ${WRKSRC} && \
for PCFILE in *.pc.in; do \
cp $$PCFILE \
`echo $$PCFILE | sed 's/-0.8//g'`; \
done
.include <bsd.port.mk>