3c691fc7f7
Use C++11 compiler: /usr/local/lib/libexiv2.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)@GLIBCXX_3.4.21'
40 lines
789 B
Makefile
40 lines
789 B
Makefile
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= viewnior
|
|
PORTVERSION= 1.7
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= ed.arrakis@gmail.com
|
|
COMMENT= Fast and simple image viewer
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libexiv2.so:graphics/exiv2
|
|
|
|
USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \
|
|
meson ninja pkgconfig
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= hellosiyan
|
|
GH_PROJECT= Viewnior
|
|
|
|
USE_GNOME= gdkpixbuf2 glib20 gtk20 intlhack intltool
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= AUTHORS NEWS README.md
|
|
|
|
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>
|