# New ports collection makefile for: ja-balsa # Date created: 02 Mar 2000 # Whom: Yoichi ASAI # # $FreeBSD$ # PORTNAME= balsa PORTVERSION= 0.8.0 PORTREVISION= 1 CATEGORIES= japanese mail gnome MASTER_SITES= # disappeared DISTNAME= balsa-0.8.0-ja MAINTAINER= ports@FreeBSD.org COMMENT= A mail reader for the gnome interface (Japanized) BROKEN= "does not fetch" DEPRECATED= "${BROKEN}" EXPIRATION_DATE= 2005-12-09 LIB_DEPENDS= PropList.2:${PORTSDIR}/devel/libPropList WRKSRC= ${WRKDIR}/balsa-0.8.0ja USE_BZIP2= yes USE_X_PREFIX= yes USE_GNOME= yes USE_AUTOTOOLS= libtool:13 USE_PERL5_BUILD=yes USE_GMAKE= yes LIBTOOLFILES= configure libmutt/configure CONFIGURE_ARGS= --enable-system-install --enable-threads CONFIGURE_ENV= CPPFLAGS='-I${LOCALBASE}/include' \ LIBS='-L${LOCALBASE}/lib' MAN1= balsa.1 .include .if ${OSVERSION} >= 502126 BROKEN= "Does not compile on FreeBSD >= 5.x" .endif pre-patch: @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|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' pre-configure: ${RM} ${WRKSRC}/config.cache ${WRKSRC}/libmutt/config.cache post-install: ${INSTALL_MAN} ${WRKSRC}/balsa.1 ${PREFIX}/man/man1 .include