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