1999-09-05 20:04:07 +00:00
|
|
|
# New ports collection makefile for: ja-mutt
|
|
|
|
# Date created: 5 Sep 1999
|
|
|
|
# Whom: IWASHITA Yoji <shuna@pop16.odn.ne.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= mutt
|
|
|
|
PORTVERSION= ${VERSION}.j${JP_VERSION}
|
1999-09-05 20:04:07 +00:00
|
|
|
CATEGORIES= japanese mail
|
2000-08-28 18:21:02 +00:00
|
|
|
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
|
|
|
|
ftp://ftp.gbnet.net/pub/mutt-international/ \
|
2000-04-01 20:00:11 +00:00
|
|
|
ftp://ftp.guug.de/pub/mutt/ \
|
1999-09-05 20:04:07 +00:00
|
|
|
ftp://ftp.guug.de/pub/mutt/historic/ \
|
2000-02-09 16:17:47 +00:00
|
|
|
http://www.hiei.kit.ac.jp/~hitomi/mutt/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= ${PORTNAME}-${VERSION}i
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
2000-08-28 18:21:02 +00:00
|
|
|
manual_ja-${VERSION:R}i-1.tar.gz
|
1999-09-05 20:04:07 +00:00
|
|
|
|
2000-07-18 19:31:14 +00:00
|
|
|
PATCH_SITES= http://www.geocities.co.jp/SiliconValley-PaloAlto/2594/ \
|
|
|
|
http://www2.odn.ne.jp/~aab27060/ports/distfiles/
|
|
|
|
PATCHFILES= ${DISTNAME}-jp${JP_VERSION}-diff.gz
|
1999-09-05 20:04:07 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
MAINTAINER= shuna@pop16.odn.ne.jp
|
|
|
|
|
|
|
|
LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang
|
2000-08-28 18:21:02 +00:00
|
|
|
.if !defined(WITH_GETTEXT)
|
|
|
|
LIB_DEPENDS+= intl.1:${PORTSDIR}/devel/gettext
|
|
|
|
.endif
|
|
|
|
.if defined(WITH_GETTEXT)
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext
|
|
|
|
.endif
|
1999-09-05 20:04:07 +00:00
|
|
|
RUN_DEPENDS= urlview:${PORTSDIR}/textproc/urlview
|
|
|
|
|
2000-08-28 18:21:02 +00:00
|
|
|
VERSION= 1.2.5
|
2000-04-11 14:15:53 +00:00
|
|
|
JP_VERSION= 0
|
|
|
|
|
1999-09-05 20:04:07 +00:00
|
|
|
DIST_SUBDIR= mutt
|
|
|
|
USE_GMAKE= yes
|
2000-08-28 18:21:02 +00:00
|
|
|
USE_AUTOMAKE= yes
|
2000-04-11 14:15:53 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
|
2000-08-28 18:21:02 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
CONFIGURE_ARGS= --with-slang --enable-locales-fix \
|
1999-09-05 20:04:07 +00:00
|
|
|
--enable-flock --disable-fcntl \
|
2000-07-18 19:31:14 +00:00
|
|
|
--sysconfdir=${PREFIX}/etc \
|
1999-09-05 20:04:07 +00:00
|
|
|
--with-docdir=${PREFIX}/share/doc/mutt \
|
|
|
|
--enable-pop --enable-imap
|
2000-08-28 18:21:02 +00:00
|
|
|
.if defined(WITH_GETTEXT)
|
|
|
|
CONFIGURE_ARGS+= --with-included-gettext
|
|
|
|
.endif
|
1999-09-05 20:04:07 +00:00
|
|
|
MAN1= mutt.1 mutt_dotlock.1
|
2000-07-18 19:31:14 +00:00
|
|
|
MAN5= muttrc.5
|
1999-09-05 20:04:07 +00:00
|
|
|
|
|
|
|
pre-configure:
|
2000-08-28 18:21:02 +00:00
|
|
|
(cd ${WRKSRC}; aclocal -I m4)
|
1999-09-05 20:04:07 +00:00
|
|
|
|
|
|
|
post-install:
|
2000-02-09 16:17:47 +00:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/manual_ja.txt ${PREFIX}/share/doc/mutt
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/manual_ja.tex ${PREFIX}/share/doc/mutt
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/manual_ja.html ${PREFIX}/share/doc/mutt
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/manual_ja.sgml ${PREFIX}/share/doc/mutt
|
1999-09-05 20:04:07 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|