summaryrefslogtreecommitdiffstats
path: root/graphics/gliv/Makefile
blob: 7adcf93ee8ae8cb3d1493f71646c7edad80229ba (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
35
36
37
38
39
40
41
42
43
# ports collection makefile for:    gliv
# Date created:             16 March 2001
# Whom:                 Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#

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

MAINTAINER= araujo@FreeBSD.org
COMMENT=    An image viewer that uses Gdk-Pixbuf and OpenGL

LIB_DEPENDS=    gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnometarget gtk20
USE_GL=     yes
USE_GETOPT_LONG=    yes
USE_GETTEXT=    yes
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS=  ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
        AUTOHEADER="${TRUE}"

MAN1=       gliv.1
MANLANG=    "" de fr ru

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

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

.include <bsd.port.mk>