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-11-03 16:01:49 +00:00
|
|
|
PORTVERSION= 1.0.pre4
|
2000-10-02 11:02:02 +00:00
|
|
|
#PORTREVISION= 1
|
1999-02-03 20:50:05 +00:00
|
|
|
CATEGORIES= mail gnome
|
2000-09-19 07:59:01 +00:00
|
|
|
MASTER_SITES= http://www.theochem.kth.se/~pawsa/balsa/ \
|
|
|
|
ftp://ftp.newton.cx/pub/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-10-05 07:17:31 +00:00
|
|
|
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList \
|
2000-09-19 07:57:35 +00:00
|
|
|
pspell.2:${PORTSDIR}/textproc/pspell \
|
2000-09-28 18:04:46 +00:00
|
|
|
gnomeprint.12:${PORTSDIR}/print/gnomeprint
|
1998-12-09 05:20:02 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
1999-05-30 03:38:11 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
LIBTOOLFILES= configure libmutt/configure
|
2000-10-05 07:17:31 +00:00
|
|
|
CONFIGURE_ARGS= --enable-threads \
|
2000-08-29 10:07:03 +00:00
|
|
|
--disable-more-warnings
|
2000-10-05 07:17:31 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
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'
|
2000-10-02 11:02:02 +00:00
|
|
|
@find ${WRKSRC}/help -name "*.html" | xargs ${PERL} -pi -e \
|
|
|
|
's|\.gif|.png|g'
|
2000-08-29 10:07:03 +00:00
|
|
|
|
1998-12-09 05:20:02 +00:00
|
|
|
.include <bsd.port.mk>
|