openbsd-ports/textproc/gpdf/Makefile
naddy b5ba305851 SECURITY:
Catch up with xpdf 3.00 pl2 and pl3 for various vulnerabilities, and a fix
for CAN-2005-2097 from Kristian Hoegsberg.
ok mbalmer@, pvalchev@
2005-08-22 22:37:12 +00:00

49 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.10 2005/08/22 22:37:12 naddy Exp $
COMMENT= "PDF viewer for GNOME"
DISTNAME= gpdf-2.8.1
PKGNAME= ${DISTNAME}p0
CATEGORIES= textproc x11/gnome
HOMEPAGE= http://www.inf.tu-dresden.de/~mk793652/gpdf/
MAINTAINER= Marc Balmer <marc@msys.ch>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB=gmodule-2.0.0.0 pangoxft-1.0.0.0 gtk-x11-2.0.0.0 gobject-2.0.0.0 \
art_lgpl_2 fontconfig gconf-2 gnomecanvas-2 pthread Xrender ICE \
glib-2.0.0.0 Xinerama pango-1.0.0.0 c Xcursor Xext popt SM Xft \
pangoft2-1.0.0.0 gnomevfs-2 ORBit-2 z gnome-2 glade-2.0.0.0 \
gthread-2.0.0.0 xml2 gnomeprint-2-2 X11 atk-1.0.0.0 stdc++ \
freetype gdk-x11-2.0.0.0 bonobo-activation bonobo-2 m bonoboui-2 \
pangox-1.0.0.0 gdk_pixbuf-2.0.0.0
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gpdf/2.8/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
:p5-XML-Parser-*:textproc/p5-XML-Parser \
${RUN_DEPENDS}
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
LIB_DEPENDS= gnomeui-2::x11/gnome/libgnomeui \
gnomeprintui-2-2::x11/gnome/libgnomeprintui
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-schemas-install
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gpdf
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
.include <bsd.port.mk>