483a696233
gnustep-base doesn't need to install the compatibility layer anymore, which requires a major lib bump. Bump revision of all dependent packages, and remove double REVISION in webservices OK landry@
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.10 2012/08/22 07:15:52 sebastia Exp $
|
|
|
|
COMMENT = framework for accessing and rendering PDF content
|
|
|
|
BROKEN = shows PDFs only white, and breaks GWorkspace on macppc
|
|
|
|
DISTNAME = PDFKit-0.9.2
|
|
REVISION = 0
|
|
SHARED_LIBS += PDFKit 0.0
|
|
|
|
HOMEPAGE = http://wiki.gnustep.org/index.php/PDFKit
|
|
MASTER_SITES = ${MASTER_SITE_SAVANNAH:=gap/}
|
|
|
|
MODULES = x11/gnustep
|
|
MODGNUSTEP_NEEDS_BASE = No
|
|
MODGNUSTEP_NEEDS_GUI = No
|
|
WANTLIB += stdc++ freetype m
|
|
BUILD_DEPENDS = x11/gnustep/gui \
|
|
textproc/xpdf:patch
|
|
|
|
BUNDLED_XPDF = 3.02
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV += ${MAKE_ENV}
|
|
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-${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}
|
|
|
|
.include <bsd.port.mk>
|