aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/girara/Makefile
blob: c89c632dafd5abd1984f0e3f78c02bd0b41ef4eb (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.1.4
CATEGORIES= x11-toolkits graphics
MASTER_SITES=   http://pwmt.org/projects/girara/download/

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

USE_GNOME=  glib20 gtk20
USE_GMAKE=  yes
USE_LDCONFIG=   yes
FETCH_ARGS= -Fpr

.if !defined(WITHOUT_NLS)
USE_GETTEXT=    yes
PLIST_SUB+= NLS=""
.else
PLIST_SUB+= NLS="@comment "
.endif

LIBDIR=     ${PREFIX}/lib

post-patch: .SILENT
    ${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g'\
        ${WRKSRC}/Makefile
.if defined(WITHOUT_NLS)
    ${REINPLACE_CMD} -e '/-C po/d'\
        ${WRKSRC}/Makefile
.endif

.include <bsd.port.mk>