freebsd-ports/devel/glade2/Makefile

34 lines
983 B
Makefile
Raw Normal View History

# 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$
#
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
MAINTAINER= gnome@FreeBSD.org
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
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}
2000-10-05 03:10:50 -04:00
pre-patch:
@${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'
.include <bsd.port.mk>