aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimmage/Makefile
blob: ac9789825b53f723e0ce5aa04e9855842d40f963 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gimmage
PORTVERSION=    0.2.3
PORTREVISION=   15
CATEGORIES= graphics
MASTER_SITES=   BERLIOS

MAINTAINER= portmaster@bsdforge.com
COMMENT=    Simple image viewer

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

LIB_DEPENDS=    libcurl.so:ftp/curl \
        libfontconfig.so:x11-fonts/fontconfig \
        libfreetype.so:print/freetype2

USES=       compiler:c++11-lang desktop-file-utils gettext gnome pkgconfig
USE_GNOME=  gtkmm24 gdkpixbuf2
GNU_CONFIGURE=  yes
USE_CXXSTD= c++11

OPTIONS_DEFINE=     NLS
NLS_USES=       gettext
NLS_CONFIGURE_ENABLE=   gettext

CONFIGURE_ARGS= --with-libintl-prefix=${LOCALBASE}

.if !exists(/usr/lib/libstdc++.so)
CXXFLAGS+=  -Wc++11-extensions -Wc++11-long-long \
        -Wunused-command-line-argument -Wreturn-type \
        -Wwritable-strings -Wlogical-op-parentheses
.endif

.include <bsd.port.mk>