aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/gtkdiff/Makefile
blob: 9e633bd3559b62b6b6c094e0b5cc72419ba90341 (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
# New ports collection makefile for:    gtkdiff
# Date created:             17 November 1999
# Whom:                 Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtkdiff
PORTVERSION=    1.8.0
CATEGORIES= textproc gnome
MASTER_SITES=   http://home.catv.ne.jp/pp/ginoue/software/gtkdiff/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A frontend program for diff(1) written for GNOME

USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix gnomelibs
USE_REINPLACE=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

MAN1=       gtkdiff.1 gtkdiff-rcs.1

post-patch:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure

.include <bsd.port.mk>