freebsd-ports/graphics/libwpg/Makefile
Dima Panov 721c90c12e - USE_PKGCONFIG [1]
- make docs build optional

PR:		171093 [1]
Submitted by:	dougb
2012-08-27 04:23:07 +00:00

42 lines
884 B
Makefile

# New ports collection makefile for: graphics/libwpg
# Date created: 2009-01-09
# Whom: Dima Panov <fluffy@Fluffy.Khv.RU>
#
# $FreeBSD$
#
PORTNAME= libwpg
PORTVERSION= 0.2.1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= fluffy@FreeBSD.org
COMMENT= Library and tools to work with WordPerfect Graphics (WPG) files
LICENSE= LGPL20
LIB_DEPENDS= wpd-0.9:${PORTSDIR}/textproc/libwpd
USE_AUTOTOOLS= libtool
USE_GNOME= gnomeprefix gnomehack ltverhack
USE_BZIP2= yes
USE_PERL5= yes
USE_LDCONFIG= yes
USE_PKGCONFIG= yes
CONFIGURE_ARGS= --disable-werror
OPTIONS_DEFINE= DOCS
PORTDOCS= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
.else
post-patch:
@${REINPLACE_CMD} -E '/^SUBDIRS = /s/docs//g' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>