Update graphics/cimg to version 1.7.5,3
[dports.git] / graphics / viewnior / Makefile
1 # Created by: Rusmir Dusko <nemysis@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       viewnior
5 PORTVERSION=    1.6
6 DISTVERSIONPREFIX=      ${PORTNAME}-
7 PORTREVISION=   1
8 CATEGORIES=     graphics
9
10 MAINTAINER=     nemysis@FreeBSD.org
11 COMMENT=        Fast and simple image viewer
12
13 LICENSE=        GPLv3
14
15 LIB_DEPENDS=    libexiv2.so:graphics/exiv2
16
17 USE_GITHUB=     yes
18 GH_ACCOUNT=     xsisqox
19 GH_PROJECT=     Viewnior
20
21 USES=           autoreconf desktop-file-utils gmake libtool pkgconfig \
22                 gettext-tools
23 USE_GNOME=      glib20 gtk20 gdkpixbuf2 intltool intlhack
24 GNU_CONFIGURE=  yes
25 CPPFLAGS+=      -I${LOCALBASE}/include
26 LIBS+=          -L${LOCALBASE}/lib
27 INSTALLS_ICONS= yes
28
29 PORTDOCS=       AUTHORS NEWS README
30
31 OPTIONS_DEFINE= DOCS NLS
32 OPTIONS_SUB=    yes
33
34 NLS_USES=       gettext-runtime
35
36 pre-configure:
37         ${MKDIR} ${WRKSRC}/m4
38
39 post-install:
40         ${MKDIR} ${STAGEDIR}${DOCSDIR}
41         ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
42
43 .include <bsd.port.mk>