aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/viewnior/Makefile
blob: 4420156a1b064b5b62650a2190359a985c171e63 (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
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
# $FreeBSD$

PORTNAME=   viewnior
PORTVERSION=    1.6
DISTVERSIONPREFIX=  ${PORTNAME}-
PORTREVISION=   4
CATEGORIES= graphics

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast and simple image viewer

LICENSE=    GPLv3

LIB_DEPENDS=    libexiv2.so:graphics/exiv2

USE_GITHUB= yes
GH_ACCOUNT= xsisqox
GH_PROJECT= Viewnior

USES=       autoreconf compiler:c++11-lang desktop-file-utils gettext-tools \
        gmake libtool pkgconfig
USE_GNOME=  glib20 gtk20 gdkpixbuf2 intltool intlhack
GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
INSTALLS_ICONS= yes

PORTDOCS=   AUTHORS NEWS README

OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB=    yes

NLS_USES=   gettext-runtime

pre-configure:
    ${MKDIR} ${WRKSRC}/m4

post-install:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>