2012-01-08 07:03:09 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2012/01/08 12:03:09 sebastia Exp $
|
2011-01-03 09:20:28 -05:00
|
|
|
|
|
|
|
COMMENT = framework for accessing and rendering PDF content
|
|
|
|
|
2011-07-27 15:55:40 -04:00
|
|
|
DISTNAME = PDFKit-0.9.1
|
2011-10-04 08:53:38 -04:00
|
|
|
REVISION = 0
|
2011-01-03 09:20:28 -05:00
|
|
|
SHARED_LIBS += PDFKit 0.0
|
|
|
|
|
|
|
|
HOMEPAGE = http://wiki.gnustep.org/index.php/PDFKit
|
2012-01-08 07:03:09 -05:00
|
|
|
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=gap/}
|
2011-01-03 09:20:28 -05:00
|
|
|
|
|
|
|
MODULES = x11/gnustep
|
|
|
|
MODGNUSTEP_NEEDS_BASE = No
|
|
|
|
MODGNUSTEP_NEEDS_GUI = No
|
|
|
|
WANTLIB += freetype m
|
|
|
|
BUILD_DEPENDS = x11/gnustep/gui \
|
2011-01-03 13:00:16 -05:00
|
|
|
textproc/xpdf:patch
|
2011-01-03 09:20:28 -05:00
|
|
|
|
2011-10-04 08:53:38 -04:00
|
|
|
BUNDLED_XPDF = 3.02
|
2011-01-03 09:20:28 -05:00
|
|
|
|
2011-10-04 08:53:38 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
2011-01-03 09:20:28 -05:00
|
|
|
CONFIGURE_ENV = ${MAKE_ENV} LDFLAGS="-lz" CPPFLAGS="-I${X11BASE}/include"
|
|
|
|
CONFIGURE_ARGS = --with-freetype2-add-includes=${X11BASE}/include \
|
|
|
|
--with-freetype2-includes=${X11BASE}/include/freetype2
|
|
|
|
MAKE_FLAGS = PDFKit_INTERFACE_VERSION=${LIBPDFKit_VERSION}
|
|
|
|
|
|
|
|
pre-configure:
|
2011-10-04 08:53:38 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}/xpdf/Makefile.in
|
|
|
|
cp ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}/GNUmakefile.in ${WRKDIR}/textproc/xpdf/xpdf-*
|
|
|
|
cp ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}/Makefile.in ${WRKDIR}/textproc/xpdf/xpdf-*
|
|
|
|
cp ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}/xpdf/Makefile.in ${WRKDIR}/textproc/xpdf/xpdf-*/xpdf
|
|
|
|
rm -r ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}
|
|
|
|
ln -s ${WRKDIR}/textproc/xpdf/xpdf-* ${WRKSRC}/xpdf/xpdf-${BUNDLED_XPDF}
|
2011-01-03 09:20:28 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|