aboutsummaryrefslogtreecommitdiffstats
path: root/x11/zenity/Makefile
blob: 68a07cda9583309ea0a3d212d156106659af3a47 (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
39
40
41
# New ports collection makefile for:    zenity
# Date created:             01 Mar 2003
# Whom:                 Franz Klammer <klammer@webonaut.com>
#
# $FreeBSD$
#   $MCom: ports/x11/zenity/Makefile,v 1.77 2007/03/11 19:58:27 mezz Exp $
#

PORTNAME=   zenity
PORTVERSION=    2.18.2
CATEGORIES= x11 gnome
MASTER_SITES=   ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    Display GNOME dialogs from the command line

BUILD_DEPENDS=  scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
RUN_DEPENDS=    scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper

USE_XLIB=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack libgnomecanvas gconf2 gnomedocutils
USE_BZIP2=  yes
USE_GETTEXT=    yes
GNU_CONFIGURE=  yes
INSTALLS_OMF=   yes
CONFIGURE_ARGS= --mandir=${PREFIX}/man
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

MAN1=       zenity.1

CONFLICTS=  gtkada-1.2.*

pre-configure:
    @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
        's|@DATADIRNAME@|share|'

.include <bsd.port.mk>