summaryrefslogtreecommitdiff
path: root/graphics/gliv/Makefile
blob: 61947b416687773f58f629a37de697db8cb538dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
PORTNAME=	gliv
PORTVERSION=	1.9.7
PORTREVISION=	9
CATEGORIES=	graphics
MASTER_SITES=	http://guichaz.free.fr/gliv/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Image viewer that uses Gdk-Pixbuf and OpenGL
WWW=		http://guichaz.free.fr/gliv/

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
		libSM.so:x11/libSM

USES=		compiler:c11 desktop-file-utils gettext gl gmake gnome \
		localbase:ldflags pathfix pkgconfig tar:bzip2 xorg
USE_GNOME=	gnomeprefix gtk20
USE_GL=		gl glu
USE_XORG=	sm
GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
		AUTOHEADER="${TRUE}"

post-install:
	${INSTALL_DATA} ${WRKSRC}/gliv.desktop \
		${STAGEDIR}${PREFIX}/share/applications
	${INSTALL_DATA} ${WRKSRC}/gliv.png \
		${STAGEDIR}${PREFIX}/share/pixmaps

.include <bsd.port.mk>