freebsd-ports/japanese/mh/Makefile
Masafumi Max NAKANE ec18df1be9 Creation and execution of mhconfig moved to do-configure target in Makefile
instead of doing it in scripts/configure.

Move ``make clean'' that should done before the build process to pre-build
instead of doing it in scripts/configure.

Define RUN_DEPENDS on jless so that the command show can display Japanese
message correctly.

Generate mh configuration for FreeBSD from template instead of doing that
by patches.
(This allows the port to respect ${PREFIX}.)

Submitted by:	sanpei@yy.cs.keio.ac.jp
Integrated recent changes made to ports/mail/mh.
Integrated widely used patches that are distributed with mew:
  - Patch to make the folder command faster.
  - Patch to suppress X-Authentication-Warning.
Added configuration options to include full pop support.
(Closing PR #2209.)
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS: ' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	Makefile patches/patch-ab patches/patch-ac patches/patch-ad
CVS: 	pkg/DESCR pkg/PLIST
CVS: Added Files:
CVS: 	files/FreeBSD.in patches/patch-ag patches/patch-ah
CVS: Removed Files:
CVS: 	patches/patch-aa scripts/configure
CVS: ----------------------------------------------------------------------
1997-01-07 07:47:26 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: mh (Japanese)
# Version required: 6.8.3-JP.2c
# Date created: 28 March 1995
# Whom: Akito FUJITA <fujita@zoo.ncl.omron.co.jp>
#
# $Id: Makefile,v 1.6 1996/11/18 14:01:51 asami Exp $
#
DISTNAME= mh-6.8.3
PKGNAME= jp-mh-6.8.3
MASTER_SITES= ftp://omrongw.wg.omron.co.jp/pub/net/mail/
CATEGORIES= japanese mail
DISTFILES= mh-6.8.3-JP.2c.tar.gz
MAINTAINER= asami@FreeBSD.ORG
RUN_DEPENDS= jless:${PORTSDIR}/japanese/less
MAN1= ali.1 anno.1 burst.1 comp.1 dist.1 folder.1 forw.1 inc.1 \
mark.1 mh-chart.1 mh.1 mhl.1 mhook.1 mhmail.1 mhn.1 \
mhparam.1 mhpath.1 msgchk.1 msh.1 next.1 packf.1 pick.1 \
prev.1 prompter.1 rcvstore.1 refile.1 repl.1 rmf.1 rmm.1 \
scan.1 send.1 show.1 slocal.1 sortm.1 vmh.1 whatnow.1 whom.1 \
popi.1
MAN5= mh-alias.5 mh-format.5 mh-mail.5 mh-profile.5 mh-sequence.5 \
mh-tailor.5
MAN8= ap.8 conflict.8 dp.8 install-mh.8 post.8 fmtdump.8 popauth.8
do-configure:
@sed s%@PREFIX@%${PREFIX}%g ${FILESDIR}/FreeBSD.in \
> ${WRKSRC}/conf/FreeBSD
@(cd ${WRKSRC}/conf; make; ./mhconfig FreeBSD)
pre-build:
@(cd ${WRKSRC} ; make clean)
post-install:
ldconfig -m ${PREFIX}/lib
.include <bsd.port.mk>