aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/girara/Makefile
blob: 5f665fbab6cfd0ec4161f3f57100fa324a6db4ec (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
# Created by: Mike Krutov <neko@takino.org>
# $FreeBSD$

PORTNAME=   girara
PORTVERSION=    0.2.7
CATEGORIES= x11-toolkits graphics
MASTER_SITES=   http://pwmt.org/projects/girara/download/

MAINTAINER= madpilot@FreeBSD.org
COMMENT=    GTK3 Interface Library for Zathura PDF Viewer

USE_GNOME=  glib20 gtk30
USES=       gmake pathfix pkgconfig
PATHFIX_MAKEFILEIN= Makefile
USE_LDCONFIG=   yes
USE_CSTD=   gnu99
LIBDIR=     ${PREFIX}/lib
MAKE_ENV+=  SFLAGS=${STRIP} \
        VERBOSE=1

OPTIONS_DEFINE= NLS

OPTIONS_SUB=    yes
NLS_USES=   gettext

post-patch: .SILENT
    ${REINPLACE_CMD} -e 's|^\(CFLAGS +=\) -std=c11|\1|' \
        ${WRKSRC}/config.mk

post-patch-NLS-off: .SILENT
    ${REINPLACE_CMD} -e '/-C po/d' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>