1998-06-30 05:47:18 -04:00
|
|
|
# New ports collection makefile for: glade
|
|
|
|
# Date created: 29 June 1998
|
|
|
|
# Whom: Dom Mitchell <dom@myrddin.demon.co.uk>
|
|
|
|
#
|
1999-08-25 01:57:29 -04:00
|
|
|
# $FreeBSD$
|
1998-06-30 05:47:18 -04:00
|
|
|
#
|
|
|
|
|
2000-04-11 17:30:15 -04:00
|
|
|
PORTNAME= glade
|
2002-01-28 12:10:20 -05:00
|
|
|
PORTVERSION= 0.6.3
|
2000-05-17 12:34:30 -04:00
|
|
|
CATEGORIES= devel gnome
|
2000-11-02 16:21:04 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= stable/sources/glade
|
1998-06-30 05:47:18 -04:00
|
|
|
|
2001-05-11 12:36:50 -04:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
1998-06-30 05:47:18 -04:00
|
|
|
|
1998-08-05 05:31:52 -04:00
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 03:10:50 -04:00
|
|
|
USE_GNOME= yes
|
2002-01-28 12:10:20 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2001-06-19 07:33:56 -04:00
|
|
|
CONFIGURE_ARGS= --with-bonobo --enable-gnome-db
|
1999-05-29 00:18:02 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/libs"
|
2002-01-28 12:10:20 -05:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
1998-06-30 05:47:18 -04:00
|
|
|
|
2000-10-05 03:10:50 -04:00
|
|
|
pre-patch:
|
2001-03-29 11:35:19 -05:00
|
|
|
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-10-05 03:10:50 -04:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
|
|
|
|
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
|
|
|
|
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
|
2002-01-28 12:10:20 -05:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
|
2000-10-05 03:10:50 -04:00
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1998-06-30 05:47:18 -04:00
|
|
|
.include <bsd.port.mk>
|