freebsd-ports/devel/g2c/Makefile

38 lines
735 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
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
2002-09-20 23:07:26 +02:00
BROKEN= "Configure fails"
USE_REINPLACE= yes
2002-07-28 03:27:25 +02:00
USE_GNOMENG= yes
USE_GNOME= gtk12 gnomehack
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
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>