freebsd-ports/print/pdfcube/Makefile
Koop Mast 563f73ccfe Update poppler to 0.30.0 [1].
Make sure we use openjpeg1 in poppler, while openjpeg2 support
was added there still bugs in openjpeg2 that need to be fixed.
Add patches to inkscape for API changes in poppler 0.29.0 [2].

PR:		196599 [1]
Submitted by:	olivierd@ [1]
Exp-run by:	antoine@
Obtained from:	upstream [2]
2015-02-03 12:28:23 +00:00

29 lines
794 B
Makefile

# Created by: Li-Wen Hsu <lwhsu@FreeBSD.org>
# $FreeBSD$
PORTNAME= pdfcube
PORTVERSION= 0.0.5
PORTREVISION= 6
CATEGORIES= print
MASTER_SITES= http://code.100allora.it/releases/pdfcube/
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= OpenGL presentation viewer on a spinning cube
LIB_DEPENDS= libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext \
libpoppler-glib.so:${PORTSDIR}/graphics/poppler-glib \
libboost_program_options.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig
USE_GL= glut
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --libdir=${LOCALBASE}/lib --includedir=${LOCALBASE}/include
PLIST_FILES= bin/pdfcube
post-patch:
${REINPLACE_CMD} -e \
's|BOOSTLIBDIR/libboost_program_options\*\.{so,a}\*|BOOSTLIBDIR/libboost_program_options.so|' \
${WRKSRC}/configure
.include <bsd.port.mk>