aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtksourceview/Makefile
blob: ab5cbcd650c0c0e62c2cf75db532eda9eae0c0f3 (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
# New ports collection makefile for:    gtksourceview
# Date created:             07 May 2003
# Whom:                 Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtksourceview
PORTVERSION=    0.2.0
CATEGORIES= x11-toolkits gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.2
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    A text widget that adds syntax highlighting to the GtkTextView widget

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_REINPLACE=  yes
USE_GMAKE=  yes
USE_LIBTOOL=    yes
INSTALLS_SHLIB= yes
USE_GNOME=  gnomeprefix gnomehack libgnome
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib -lgnuregex"

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
         s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure

.include <bsd.port.mk>