blob: 6bb1918f1b3e620dd516a0404998c42d606b46f3 (
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
|
# ex:ts=8
# Ports collection makefile for: libpdf++
# Date created: Jan 29, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= libpdf++
PORTVERSION= 0.0.3
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://libpdfxx.sourceforge.net/
MASTER_SITE_SUBDIR= libpdfxx
DISTNAME= libpdfdoc-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A C++ library to generate PDF files
BUILD_DEPENDS= ${LOCALBASE}/include/boost/any.hpp:${PORTSDIR}/devel/boost
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
jpeg.9:${PORTSDIR}/graphics/jpeg
RUN_DEPENDS= ${LOCALBASE}/include/boost/any.hpp:${PORTSDIR}/devel/boost
USE_AUTOMAKE_VER= 14
CONFIGURE_ARGS= --with-boost=${LOCALBASE}/include
USE_GMAKE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 || (${OSVERSION} >= 502102 && ARCH=="alpha")
BROKEN= "Does not compile"
.endif
.if ${OSVERSION} < 500035
USE_GCC= 3.1
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.else
CONFIGURE_ENV+= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.endif
.include <bsd.port.post.mk>
|