aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gliv/Makefile
blob: 8c44f6a7781d7d7d2a4bcb560ffe73a35404b840 (plain) (blame)
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
34
# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$

PORTNAME=   gliv
PORTVERSION=    1.9.7
PORTREVISION=   4
CATEGORIES= graphics
MASTER_SITES=   http://guichaz.free.fr/gliv/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Image viewer that uses Gdk-Pixbuf and OpenGL

LICENSE=    GPLv2 # or later
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libgtkglext-x11-1.0.so:${PORTSDIR}/x11-toolkits/gtkglext

USE_GNOME=  gnomeprefix gtk20
USE_GL=     yes
USES=       desktop-file-utils gettext gmake pkgconfig tar:bzip2 pathfix
GNU_CONFIGURE=  yes
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"

CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

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

.include <bsd.port.mk>