openbsd-ports/textproc/gpdf/Makefile
2004-12-07 00:23:20 +00:00

48 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2004/12/07 00:23:21 alek Exp $
COMMENT= "PDF viewer for GNOME"
DISTNAME= gpdf-0.132
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 esd gtk-x11-2.0.0.0 gobject-2.0.0.0 \
art_lgpl_2 fontconfig gconf-2 gnomecanvas-2 pthread Xrender ICE \
ORBitCosNaming-2 glib-2.0.0.0 Xinerama pango-1.0.0.0 audiofile c \
pangoft2-1.0.0.0 gnomevfs-2 ORBit-2 jpeg z gnome-2 glade-2.0.0.0 \
gthread-2.0.0.0 xml2 gnomeprint-2-2 X11 atk-1.0.0.0 crypto stdc++ \
freetype gdk-x11-2.0.0.0 bonobo-activation bonobo-2 ssl m bonoboui-2 \
pangox-1.0.0.0 Xft SM gnome-keyring gdk_pixbuf-2.0.0.0 Xext popt
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gpdf/0.132/}
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>