1 |
# $MidnightBSD$ |
2 |
|
3 |
PORTNAME= gtksourceview |
4 |
PORTVERSION= 3.16.1 |
5 |
CATEGORIES= x11-toolkits gnome |
6 |
MASTER_SITES= GNOME |
7 |
PKGNAMESUFFIX= 3 |
8 |
DIST_SUBDIR= gnome3 |
9 |
|
10 |
MAINTAINER= ports@MidnightBSD.org |
11 |
COMMENT= Text widget that adds syntax highlighting to the GtkTextView widget |
12 |
|
13 |
LICENSE= lgpl2.1 |
14 |
|
15 |
USES= tar:xz |
16 |
|
17 |
.if !defined(REFERENCE_PORT) |
18 |
|
19 |
BUILD_DEPENDS= vala:${PORTSDIR}/lang/vala |
20 |
|
21 |
USES+= gettext gmake libtool pathfix pkgconfig |
22 |
USE_GNOME= gnomeprefix gtk30 intlhack introspection:build \ |
23 |
libxml2 referencehack |
24 |
GNU_CONFIGURE= yes |
25 |
USE_LDCONFIG= yes |
26 |
CONFIGURE_ARGS= --enable-compile-warnings=no --enable-glade-catalog=no \ |
27 |
--enable-introspection |
28 |
CPPFLAGS+= -I${LOCALBASE}/include |
29 |
LIBS+= -L${LOCALBASE}/lib |
30 |
INSTALL_TARGET= install-strip |
31 |
|
32 |
post-patch: |
33 |
@${REINPLACE_CMD} -e 's|--warn-all||g' \ |
34 |
${WRKSRC}/gtksourceview/Makefile.in |
35 |
|
36 |
.include <bsd.port.mk> |
37 |
|
38 |
.endif |