summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview2/Makefile
blob: 16ce02763bd006967630ad7dd126fb9f34c72f5b (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
35
36
37
38
# New ports collection makefile for:    gtksourceview
# Date created:             07 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#   $MCom: ports/x11-toolkits/gtksourceview2/Makefile,v 1.58 2008/02/05 12:04:57 ahze Exp $
#

PORTNAME=   gtksourceview2
PORTVERSION=    2.1.3
PORTREVISION?=  0
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   ${MASTER_SITE_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=    A text widget that adds syntax highlighting to the GtkTextView widget

USE_BZIP2=  yes

.if !defined(REFERENCE_PORT)

USE_GETTEXT=    yes
USE_XLIB=   yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
USE_LDCONFIG=   yes
USE_GNOME=  gnomeprefix gnomehack gtk20 libxml2 intlhack \
        ltverhack referencehack
CONFIGURE_ARGS= --enable-compile-warnings=no
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.mk>

.endif