2000-07-18 05:09:05 +00:00
|
|
|
# New ports collection makefile for: ja-balsa
|
|
|
|
# Date created: 02 Mar 2000
|
|
|
|
# Whom: Yoichi ASAI <yatt@msc.biglobe.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= balsa
|
|
|
|
PORTVERSION= 0.8.0
|
|
|
|
CATEGORIES= japanese mail gnome
|
|
|
|
MASTER_SITES= ftp://ftp.critical.ne.jp/pub/balsa-ja/
|
|
|
|
DISTNAME= balsa-0.8.0-ja
|
|
|
|
|
|
|
|
MAINTAINER= yatt@msc.biglobe.ne.jp
|
|
|
|
|
2000-10-05 07:17:31 +00:00
|
|
|
LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList
|
2000-07-18 05:09:05 +00:00
|
|
|
|
2000-10-05 07:17:31 +00:00
|
|
|
WRKSRC= ${WRKDIR}/balsa-0.8.0ja
|
2000-07-18 05:09:05 +00:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_X_PREFIX= yes
|
2000-10-05 07:17:31 +00:00
|
|
|
USE_GNOME= yes
|
2000-07-18 05:09:05 +00:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
LIBTOOLFILES= configure libmutt/configure
|
2000-10-05 07:17:31 +00:00
|
|
|
CONFIGURE_ARGS= --enable-system-install --enable-threads
|
|
|
|
CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \
|
2000-07-18 05:09:05 +00:00
|
|
|
LIBS='-L${LOCALBASE}/lib'
|
|
|
|
MAN1= balsa.1
|
|
|
|
|
2000-10-13 09:34:41 +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-07-18 05:09:05 +00:00
|
|
|
pre-configure:
|
|
|
|
${RM} ${WRKSRC}/config.cache ${WRKSRC}/libmutt/config.cache
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/balsa.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|