aboutsummaryrefslogtreecommitdiffstats
path: root/mail/balsa/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-08-29 18:07:03 +0800
committersobomax <sobomax@FreeBSD.org>2000-08-29 18:07:03 +0800
commit4b4c0208bbb9d34c89be42d78ac0b44aae77bcd0 (patch)
tree2382571167035b84412bb882a7919f5086e0a459 /mail/balsa/Makefile
parent7442b5c30adfc6d32c2be447c978339da4d13d74 (diff)
downloadfreebsd-ports-gnome-4b4c0208bbb9d34c89be42d78ac0b44aae77bcd0.tar.gz
freebsd-ports-gnome-4b4c0208bbb9d34c89be42d78ac0b44aae77bcd0.tar.zst
freebsd-ports-gnome-4b4c0208bbb9d34c89be42d78ac0b44aae77bcd0.zip
Update to 0.9.3.
- take over maintainership; - replace couple of patches with perl regex.
Diffstat (limited to 'mail/balsa/Makefile')
-rw-r--r--mail/balsa/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/mail/balsa/Makefile b/mail/balsa/Makefile
index a7a02ac3f1f9..09bf75b370b1 100644
--- a/mail/balsa/Makefile
+++ b/mail/balsa/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= balsa
-PORTVERSION= 0.9.0
+PORTVERSION= 0.9.3
CATEGORIES= mail gnome
MASTER_SITES= ftp://ftp.newton.cx/pub/balsa/ \
http://www.theochem.kth.se/~pawsa/balsa/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sobomax@FreeBSD.org
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
PropList.2:${PORTSDIR}/devel/libPropList
@@ -32,8 +32,17 @@ CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
--datadir=${PREFIX}/share/gnome \
--with-gnome=${PREFIX} \
- --enable-threads
+ --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>