aboutsummaryrefslogtreecommitdiff
path: root/editors/pdfedit/Makefile
blob: 5a8067209f13f007be8f127693329d646337e3ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Created by: alepulver
# $FreeBSD$

PORTNAME=	pdfedit
PORTVERSION=	0.4.5
PORTREVISION=	4
CATEGORIES=	editors
MASTER_SITES=	SF

MAINTAINER=	hrs@FreeBSD.org
COMMENT=	PDF document manipulating library

LICENSE=	GPLv2

LIB_DEPENDS=	libboost_filesystem.so:devel/boost-libs \
		libfreetype.so:print/freetype2 \
		libpng16.so:graphics/png \
		libt1.so:devel/t1lib

USES=		gmake perl5 tar:bzip2
USE_PERL5=	build
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-root-dir=${STAGEDIR} \
		--with-ft-library=${LOCALBASE}/lib \
		--with-ft-includes=${LOCALBASE}/include \
		--with-t1-library=${LOCALBASE}/lib \
		--with-t1-includes=${LOCALBASE}/include \
		--with-parallel-make=off \
		--disable-gui \
		--enable-pdfedit-core-dev \
		--enable-tools
INSTALL_TARGET=	install install-tools
PORTDOCS=	Changelog README AUTHORS

OPTIONS_DEFINE=	DOCS
OPTIONS_DEFAULT=DOCS

BROKEN_sparc64=		Fails to configure: error: Could not link against boost_program_options

post-extract:
	${INSTALL_DATA} ${WRKSRC}/doc/AUTHORS ${WRKSRC}

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>