2002-06-03 05:35:17 +02:00
|
|
|
# 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
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Glade to C translator
|
2002-06-03 05:35:17 +02:00
|
|
|
|
2002-06-25 20:36:39 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-04-23 14:50:20 +02:00
|
|
|
USE_GNOME= gtk12 gnomehack libxml orbit
|
2002-06-03 05:35:17 +02:00
|
|
|
WANT_GNOME= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-07-28 03:27:25 +02:00
|
|
|
.if ${HAVE_GNOME:Mbonobo} != "" && ${HAVE_GNOME:Mgnomedb} != ""
|
2002-07-28 03:34:20 +02:00
|
|
|
USE_GNOME+= gnomeprefix bonobo gnomedb
|
2002-07-28 03:27:25 +02:00
|
|
|
PKGNAMESUFFIX= -gnome
|
2002-11-18 19:41:03 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS= --disable-gnome
|
2002-06-03 05:35:17 +02:00
|
|
|
.endif
|
|
|
|
|
2002-07-28 03:27:25 +02:00
|
|
|
post-patch:
|
2002-06-25 20:36:39 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2002-06-03 05:35:17 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|