aboutsummaryrefslogtreecommitdiffstats
path: root/devel/g2c/Makefile
blob: c9b3afe48750d375020a153dee7b5b107c743015 (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
# ex:ts=8
# Ports collection makefile for:    g2c
# Date created:         Mar 21, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   g2c
PORTVERSION=    0.4
CATEGORIES= devel gnome
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Glade to C translator

USE_REINPLACE=  yes
USE_GNOME=  gtk12 gnomehack libxml orbit
WANT_GNOME= yes
GNU_CONFIGURE=  yes
USE_GMAKE=  yes

.include <bsd.port.pre.mk>

.if ${HAVE_GNOME:Mbonobo} != "" && ${HAVE_GNOME:Mgnomedb} != ""
USE_GNOME+= gnomeprefix bonobo gnomedb
PKGNAMESUFFIX=  -gnome
.else
CONFIGURE_ARGS= --disable-gnome
.endif

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

.include <bsd.port.post.mk>
p;id=acbcfc9c79fedf0aa158bf8d01bf0536e2a963c9'>Upgrade to version 0.4.0.se2003-11-094-91/+27 * Upgrade to kplayer-0.3.1.se2003-08-092-3/+3 * Upgrade to kplayer-0.3.0se2003-08-033-21/+79 * KDE wrapper for multimedia/mplayer.se2003-04-11