1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/japanese/mutt/Makefile
FUJISHIMA Satsuki f48a84c18f update MASTER/PATCH_SITES.
PR:		25638
Submitted by:	maintainer
2001-03-09 20:12:02 +00:00

67 lines
1.9 KiB
Makefile

# New ports collection makefile for: ja-mutt
# Date created: 5 Sep 1999
# Whom: IWASHITA Yoji <shuna@pop16.odn.ne.jp>
#
# $FreeBSD$
#
PORTNAME= mutt
PORTVERSION= ${VERSION}.j${JP_VERSION}
CATEGORIES= japanese mail
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
http://ha4.seikyou.ne.jp/home/Kohtaro.Hitomi/mutt/ \
http://www5.xdsl.ne.jp/~shuna/distfiles/mutt/ \
ftp://ftp.gbnet.net/pub/mutt-international/ \
ftp://ftp.guug.de/pub/mutt/ \
ftp://ftp.guug.de/pub/mutt/historic/
DISTNAME= ${PORTNAME}-${VERSION}i
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
manual_ja-${VERSION:R}i-2${EXTRACT_SUFX}
PATCH_SITES= http://www.geocities.co.jp/SiliconValley-PaloAlto/2594/ \
http://www5.xdsl.ne.jp/~shuna/distfiles/mutt/
PATCHFILES= ${DISTNAME}-jp${JP_VERSION}-diff.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= shuna@pop16.odn.ne.jp
LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang
.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
RUN_DEPENDS= urlview:${PORTSDIR}/textproc/urlview
VERSION= 1.2.5
JP_VERSION= 2
DIST_SUBDIR= mutt
USE_GMAKE= yes
USE_AUTOMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-slang --enable-locales-fix \
--enable-flock --disable-fcntl \
--sysconfdir=${PREFIX}/etc \
--with-docdir=${PREFIX}/share/doc/mutt \
--enable-pop --enable-imap
.if defined(WITH_GETTEXT)
CONFIGURE_ARGS+= --with-included-gettext
.endif
MAN1= mutt.1 mutt_dotlock.1
MAN5= muttrc.5
pre-configure:
(cd ${WRKSRC}; aclocal -I m4)
post-install:
${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
.include <bsd.port.mk>