2001-07-24 12:19:37 +00:00
|
|
|
# New ports collection makefile for: gnomebuild
|
|
|
|
# Date created: 24 July 2001
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-05-28 04:06:27 +00:00
|
|
|
PORTNAME= gnome-build
|
2007-02-11 14:39:51 +00:00
|
|
|
PORTVERSION= 0.1.4
|
2003-10-16 15:54:11 +00:00
|
|
|
CATEGORIES= devel gnome
|
2001-07-24 12:19:37 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
2006-05-28 04:06:27 +00:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.1
|
2001-07-24 12:19:37 +00:00
|
|
|
|
2006-05-15 22:15:45 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A GNOME Build Framework (GBF)
|
2001-07-24 12:19:37 +00:00
|
|
|
|
2003-10-17 07:36:58 +00:00
|
|
|
LIB_DEPENDS= gdl-1.0:${PORTSDIR}/x11-toolkits/gdl
|
2001-07-24 12:19:37 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2006-05-15 22:15:45 +00:00
|
|
|
USE_GETTEXT= yes
|
2001-07-24 12:19:37 +00:00
|
|
|
USE_X_PREFIX= yes
|
2006-05-15 22:15:45 +00:00
|
|
|
USE_GNOME= gnomeprefix intlhack gnomehack libgnomeui gnomevfs2
|
2006-05-15 22:23:04 +00:00
|
|
|
USE_GETTEXT= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2007-02-11 14:39:51 +00:00
|
|
|
USE_GMAKE= yes
|
2006-11-05 03:45:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2006-05-15 22:15:45 +00:00
|
|
|
USE_PERL5_RUN= yes
|
2004-02-23 21:07:36 +00:00
|
|
|
CONFIGURE_ARGS= --enable-compile-warnings=no
|
2001-07-24 12:19:37 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2003-10-16 15:54:11 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib -lgnuregex"
|
2001-07-24 12:19:37 +00:00
|
|
|
|
2004-02-20 18:01:29 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 500000
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/current-src_backends_libgbf_am_gbf-am-project.c
|
2004-02-23 21:07:36 +00:00
|
|
|
.elif ${ARCH} != "i386"
|
2004-02-20 18:01:29 +00:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/stable-src_backends_libgbf_am_gbf-am-project.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|