1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/mail/balsa/Makefile

49 lines
1.4 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 06:51:17 +00:00
# $FreeBSD$
#
2000-04-13 20:01:08 +00:00
PORTNAME= balsa
2000-09-05 11:49:18 +00:00
PORTVERSION= 0.9.4
CATEGORIES= mail gnome
MASTER_SITES= ftp://ftp.newton.cx/pub/balsa/ \
http://www.theochem.kth.se/~pawsa/balsa/
MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
PropList.2:${PORTSDIR}/devel/libPropList
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'
.include <bsd.port.mk>