aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview2/Makefile
blob: 515194c5e1081c2f3248da554a04c113011ca244 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/x11-toolkits/gtksourceview2/Makefile,v 1.96 2010/09/29 12:42:49 kwm Exp $

PORTNAME=   gtksourceview2
PORTVERSION=    2.10.5
PORTREVISION?=  4
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   GNOME
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DISTNAME=   ${PORTNAME:S/2$//}-${PORTVERSION}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Widget that adds syntax highlighting to GtkTextView

USES=       tar:bzip2

.if !defined(REFERENCE_PORT)

USES+=      gettext gmake libtool:keepla pathfix pkgconfig
USE_LDCONFIG=   yes
USE_GNOME=  gnomeprefix gtk20 gconf2 libxml2 intlhack referencehack
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-compile-warnings=no --enable-glade-catalog=no
CPPFLAGS+=  -I${LOCALBASE}/include
LIBS+=      -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip

.include <bsd.port.mk>

.endif