mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
090059a210
The affected ports are the ones with gettext as a run-dependency according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT in Makefile (29 of them). PR: ports/124340 Submitted by: edwin@ Approved by: portmgr (pav)
39 lines
791 B
Makefile
39 lines
791 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: g2c
|
|
# Date created: Mar 21, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= g2c
|
|
PORTVERSION= 0.4
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel gnome
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Glade to C translator
|
|
|
|
PLIST_FILES= bin/g2c
|
|
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>
|