aboutsummaryrefslogblamecommitdiff
path: root/graphics/gimmage/Makefile
blob: 7039bcc146229b7e5d02584277e4d6f9e55710bc (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                        

                       
                     
                  
                        
                       
 
                                       

                                   


                                 


                                                       
 
                                                                              
                                  
                   





                               

                                                  


                                    
                                                      

                                                              
      
 
                           
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>

PORTNAME=	gimmage
PORTVERSION=	0.2.3
PORTREVISION=	16
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}

.include <bsd.port.pre.mk>

.if ! ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+=	-Wc++11-extensions -Wc++11-long-long \
		-Wunused-command-line-argument -Wreturn-type \
		-Wwritable-strings -Wlogical-op-parentheses
.endif

.include <bsd.port.post.mk>