2009-08-10 02:29:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.55 2009/08/10 06:31:44 kili Exp $
|
1999-09-07 20:45:02 -04:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= Gtk-based graphic file viewer
|
2001-05-06 01:05:43 -04:00
|
|
|
|
2009-05-14 09:39:44 -04:00
|
|
|
DISTNAME= gqview-2.1.5
|
2009-08-10 02:29:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
1999-09-07 20:45:02 -04:00
|
|
|
CATEGORIES= graphics
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gqview/}
|
2000-08-12 08:37:18 -04:00
|
|
|
|
2004-02-07 17:00:47 -05:00
|
|
|
HOMEPAGE= http://gqview.sourceforge.net/
|
2000-08-12 08:40:19 -04:00
|
|
|
|
2005-03-27 15:43:42 -05:00
|
|
|
MAINTAINER= Peter Valchev <pvalchev@openbsd.org>
|
|
|
|
|
2003-04-28 20:32:14 -04:00
|
|
|
# GPL
|
2000-03-05 13:30:21 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2005-03-27 15:43:42 -05:00
|
|
|
|
2007-11-07 17:51:51 -05:00
|
|
|
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
|
|
|
|
Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
|
2009-05-14 09:39:44 -04:00
|
|
|
freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0 m \
|
2009-08-10 02:29:51 -04:00
|
|
|
pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1 png \
|
|
|
|
pthread-stubs xcb z
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2004-08-10 05:14:47 -04:00
|
|
|
MODULES= devel/gettext
|
2004-02-07 17:00:47 -05:00
|
|
|
|
2009-05-14 09:39:44 -04:00
|
|
|
RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils \
|
|
|
|
::devel/xdg-utils
|
|
|
|
LIB_DEPENDS= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
|
|
|
|
lcms::graphics/lcms
|
2003-04-28 20:32:14 -04:00
|
|
|
|
2006-11-13 06:20:24 -05:00
|
|
|
USE_X11= Yes
|
2000-08-12 08:37:18 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2005-03-27 15:43:42 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
2000-08-12 08:37:18 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-09-07 20:45:02 -04:00
|
|
|
|
2004-02-07 17:00:47 -05:00
|
|
|
# gqview only installs these files conditionally if it finds gnome-config.
|
|
|
|
# here we will install the files manually, this eases integration with GNOME.
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/gnome/apps/Graphics
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gqview.desktop \
|
|
|
|
${PREFIX}/share/gnome/apps/Graphics
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/gqview.png ${PREFIX}/share/pixmaps
|
|
|
|
|
1999-09-07 20:45:02 -04:00
|
|
|
.include <bsd.port.mk>
|