freebsd-ports/japanese/mutt/Makefile
Akinori MUSHA edcf8b3594 Update with the new PORT{NAME,VERSION}/PKGNAME{PRE,SUF}FIX variables.
Now try to use those variables everywhere around DIST* and PATCH*
definitions as far as possible, for ease of the future updates and the
neatness.

Okay, 60% of `japanese' ports have been done. :)
2000-04-11 14:15:53 +00:00

62 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.gbnet.net/pub/mutt-international/ \
ftp://ftp.guug.de/pub/mutt/ \
ftp://ftp.guug.de/pub/mutt/historic/ \
http://www.hiei.kit.ac.jp/~hitomi/mutt/
DISTNAME= ${PORTNAME}-${VERSION}i
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
manual_ja-${VERSION:R}i-2.tar.gz
PATCH_SITES= http://kondara.sdri.co.jp/~kikutani/slang/
PATCHFILES= ${DISTNAME}-jp${JP_VERSION}.patch.gz
PATCH_DIST_STRIP= -p1
MAINTAINER= shuna@pop16.odn.ne.jp
LIB_DEPENDS= slang.2:${PORTSDIR}/japanese/libslang
BUILD_DEPENDS= ${LOCALBASE}/bin/msgfmt:${PORTSDIR}/devel/gettext \
autoconf:${PORTSDIR}/devel/autoconf \
automake:${PORTSDIR}/devel/automake
RUN_DEPENDS= urlview:${PORTSDIR}/textproc/urlview
VERSION= 1.0.1
JP_VERSION= 0
DIST_SUBDIR= mutt
GNU_CONFIGURE= yes
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
CONFIGURE_ARGS= --with-slang --enable-locales-fix --with-included-gettext \
--enable-flock --disable-fcntl \
--sysconfdir=${PREFIX}/share/mutt \
--with-sharedir=${PREFIX}/share/mutt \
--with-docdir=${PREFIX}/share/doc/mutt \
--enable-pop --enable-imap
MAN1= mutt.1 mutt_dotlock.1
pre-configure:
(cd ${WRKSRC}; autoconf)
post-install:
strip ${PREFIX}/bin/mutt
strip ${PREFIX}/bin/mutt_dotlock
${INSTALL_DATA} ${WRKSRC}/contrib/sample.muttrc ${PREFIX}/share/doc/mutt
${INSTALL_DATA} ${WRKSRC}/contrib/Mush.rc ${PREFIX}/share/doc/mutt
${INSTALL_DATA} ${WRKSRC}/contrib/Pine.rc ${PREFIX}/share/doc/mutt
${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>