64d1b45cb4
OK jasper@
34 lines
1.1 KiB
Makefile
34 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2011/07/27 19:55:40 sebastia Exp $
|
|
|
|
COMMENT = framework for accessing and rendering PDF content
|
|
|
|
DISTNAME = PDFKit-0.9.1
|
|
SHARED_LIBS += PDFKit 0.0
|
|
|
|
HOMEPAGE = http://wiki.gnustep.org/index.php/PDFKit
|
|
MASTER_SITES = http://savannah.nongnu.org/download/gap/
|
|
|
|
MODULES = x11/gnustep
|
|
MODGNUSTEP_NEEDS_BASE = No
|
|
MODGNUSTEP_NEEDS_GUI = No
|
|
WANTLIB += freetype m
|
|
BUILD_DEPENDS = x11/gnustep/gui \
|
|
textproc/xpdf:patch
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
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:
|
|
${SUBST_CMD} ${WRKSRC}/xpdf/xpdf-3.02/xpdf/Makefile.in
|
|
cp ${WRKSRC}/xpdf/xpdf-3.02/GNUmakefile.in ${WRKDIR}/textproc/xpdf/xpdf-3.02
|
|
cp ${WRKSRC}/xpdf/xpdf-3.02/Makefile.in ${WRKDIR}/textproc/xpdf/xpdf-3.02
|
|
cp ${WRKSRC}/xpdf/xpdf-3.02/xpdf/Makefile.in ${WRKDIR}/textproc/xpdf/xpdf-3.02/xpdf
|
|
rm -r ${WRKSRC}/xpdf/xpdf-3.02
|
|
ln -s ${WRKDIR}/textproc/xpdf/xpdf-3.02 ${WRKSRC}/xpdf/xpdf-3.02
|
|
|
|
.include <bsd.port.mk>
|