1999-02-03 20:50:05 +00:00
|
|
|
# New ports collection makefile for: balsa
|
|
|
|
# Date created: 02 December 1998
|
|
|
|
# Whom: Glenn Johnson <gljohns@bellsouth.net>
|
1998-12-09 05:20:02 +00:00
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1998-12-09 05:20:02 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 20:01:08 +00:00
|
|
|
PORTNAME= balsa
|
2000-09-19 07:57:35 +00:00
|
|
|
PORTVERSION= 0.9.5
|
1999-02-03 20:50:05 +00:00
|
|
|
CATEGORIES= mail gnome
|
2000-05-29 14:33:54 +00:00
|
|
|
MASTER_SITES= ftp://ftp.newton.cx/pub/balsa/ \
|
|
|
|
http://www.theochem.kth.se/~pawsa/balsa/
|
1998-12-09 05:20:02 +00:00
|
|
|
|
2000-08-29 10:07:03 +00:00
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
1998-12-09 05:20:02 +00:00
|
|
|
|
2000-06-01 16:25:45 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-09-19 07:57:35 +00:00
|
|
|
PropList.2:${PORTSDIR}/devel/libPropList \
|
|
|
|
pspell.2:${PORTSDIR}/textproc/pspell \
|
|
|
|
gnomeprint.9:${PORTSDIR}/print/gnomeprint
|
2000-07-27 07:22:48 +00:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter \
|
|
|
|
${X11BASE}/share/gnome/sounds/login.wav:${PORTSDIR}/audio/gnomeaudio \
|
|
|
|
panel:${PORTSDIR}/x11/gnomecore
|
1999-05-30 03:38:11 +00:00
|
|
|
|
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
1999-12-25 01:34:58 +00:00
|
|
|
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
|
1998-12-09 05:20:02 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
1999-05-30 03:38:11 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFILES= configure libmutt/configure
|
1999-11-26 17:45:47 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
|
|
|
|
GTK_CONFIG='${GTK_CONFIG}' \
|
1999-12-25 01:34:58 +00:00
|
|
|
GLIB_CONFIG='${GLIB_CONFIG}' \
|
1999-11-26 17:45:47 +00:00
|
|
|
LIBS='-L${LOCALBASE}/lib'
|
1998-12-09 05:20:02 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome \
|
1999-12-29 07:03:42 +00:00
|
|
|
--with-gnome=${PREFIX} \
|
2000-08-29 10:07:03 +00:00
|
|
|
--enable-threads \
|
|
|
|
--disable-more-warnings
|
1998-12-09 05:20:02 +00:00
|
|
|
|
|
|
|
MAN1= balsa.1
|
|
|
|
|
2000-08-29 10:07:03 +00:00
|
|
|
pre-patch:
|
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g ; \
|
|
|
|
s|\$\(gnomedatadir\)/gnome|\$\(gnomedatadir\)|g'
|
|
|
|
|
1998-12-09 05:20:02 +00:00
|
|
|
.include <bsd.port.mk>
|