freebsd-ports/mail/balsa/Makefile

54 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: balsa
# Date created: 02 December 1998
# Whom: Glenn Johnson <gljohns@bellsouth.net>
#
1999-08-25 02:51:17 -04:00
# $FreeBSD$
#
2000-04-13 16:01:08 -04:00
PORTNAME= balsa
2000-10-02 07:02:02 -04:00
PORTVERSION= 1.0.pre1
#PORTREVISION= 1
CATEGORIES= mail gnome
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \
ftp://ftp.newton.cx/pub/balsa/
MAINTAINER= sobomax@FreeBSD.org
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 \
2000-09-28 14:04:46 -04:00
gnomeprint.12:${PORTSDIR}/print/gnomeprint
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter \
${X11BASE}/share/gnome/sounds/login.wav:${PORTSDIR}/audio/gnomeaudio \
panel:${PORTSDIR}/x11/gnomecore
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
USE_X_PREFIX= yes
USE_LIBTOOL= yes
LIBTOOLFILES= configure libmutt/configure
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
GTK_CONFIG='${GTK_CONFIG}' \
GLIB_CONFIG='${GLIB_CONFIG}' \
LIBS='-L${LOCALBASE}/lib'
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--with-gnome=${PREFIX} \
--enable-threads \
--disable-more-warnings
MAN1= balsa.1
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'
2000-10-02 07:02:02 -04:00
@find ${WRKSRC}/help -name "*.html" | xargs ${PERL} -pi -e \
's|\.gif|.png|g'
.include <bsd.port.mk>