freebsd-ports/devel/g2c/Makefile

40 lines
809 B
Makefile
Raw Normal View History

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
PORTREVISION= 1
2002-06-03 05:35:17 +02:00
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
2004-02-05 21:38:07 +01:00
PLIST_FILES= bin/g2c
USE_REINPLACE= yes
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} != ""
USE_GNOME+= gnomeprefix bonobo gnomedb
2002-07-28 03:27:25 +02:00
PKGNAMESUFFIX= -gnome
.else
CONFIGURE_ARGS= --disable-gnome
2002-06-03 05:35:17 +02:00
.endif
2002-07-28 03:27:25 +02:00
post-patch:
@${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>