39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.34 2004/10/17 16:05:47 brad Exp $
|
|
|
|
COMMENT= "Gtk-based graphic file viewer"
|
|
|
|
DISTNAME= gqview-1.4.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gqview/}
|
|
|
|
HOMEPAGE= http://gqview.sourceforge.net/
|
|
|
|
MAINTAINER= Margarida Sequeira <margarida@openbsd.org>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES= devel/gettext
|
|
|
|
LIB_DEPENDS+= png.2::graphics/png \
|
|
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0::x11/gtk+2
|
|
BUILD_DEPENDS+= :pkgconfig-*:devel/pkgconfig
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include/libpng -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
# 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
|
|
|
|
.include <bsd.port.mk>
|