Files
ports/print/libpdf++/Makefile
T
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

47 lines
1.1 KiB
Makefile

# 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>