1996-12-31 21:27:03 +00:00
|
|
|
# New ports collection Makefile for: exmh2
|
1998-03-14 13:43:39 +00:00
|
|
|
# Version required: 2.0.2
|
1996-12-31 21:27:03 +00:00
|
|
|
# Date released: 1 Jan 97
|
1996-10-10 15:00:53 +00:00
|
|
|
# Whom: Peter Wemm <peter@freebsd.org>
|
1996-10-15 11:27:38 +00:00
|
|
|
#
|
1998-07-08 10:49:32 +00:00
|
|
|
# $Id: Makefile,v 1.28 1998/07/03 23:07:01 steve Exp $
|
1996-10-15 11:27:38 +00:00
|
|
|
#
|
1996-10-10 15:00:53 +00:00
|
|
|
|
1998-03-14 13:43:39 +00:00
|
|
|
DISTNAME= exmh-2.0.2
|
1997-11-22 19:50:03 +00:00
|
|
|
CATEGORIES= mail tk80
|
1998-07-03 23:07:17 +00:00
|
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/exmh/
|
1996-10-10 15:00:53 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
1998-07-08 10:49:32 +00:00
|
|
|
PATCH_SITES= http://www.beedub.com/exmh/patches/2.0.2/ \
|
|
|
|
http://www.beedub.com/exmh/patches/2.0.1/
|
1998-03-14 13:43:39 +00:00
|
|
|
#PATCHFILES= utils.patch folderNew.patch extrasInit.patch exec.patch \
|
|
|
|
# app-defaults.patch pgpMisc.patch seditMime.patch mime.patch \
|
|
|
|
# bindings.patch html_bindings.patch find.patch mh.patch \
|
|
|
|
# pgp.patch
|
1998-02-15 05:36:55 +00:00
|
|
|
|
|
|
|
# User contributed and "new features". Some not useable as-is.
|
1998-07-08 10:49:32 +00:00
|
|
|
PATCHFILES+= seditpost.patch inc.patch next.patch \
|
|
|
|
uri.patch extrasInit.patch folder.patch seditExtras.patch
|
1998-02-15 05:36:55 +00:00
|
|
|
# XXX pgpExec.patch has got confused paths (supplied as patch-as)
|
|
|
|
# XXX newsgroups.patch is relative to a different directory (patch-at)
|
|
|
|
# XXX MDN.patch doesn't apply (patch-au)
|
|
|
|
# XXX post.from.patch doesn't apply (patch-av)
|
1998-07-08 10:49:32 +00:00
|
|
|
# XXX date.patch doesn't apply (spammed whitespace) (patch-ax)
|
1997-12-27 02:32:46 +00:00
|
|
|
|
|
|
|
.if defined(PATCH_DEBUG)
|
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/lib -E ${PATCH_DIST_STRIP}
|
|
|
|
.else
|
|
|
|
PATCH_DIST_ARGS= -d ${WRKSRC}/lib --forward --quiet -E ${PATCH_DIST_STRIP}
|
|
|
|
.endif
|
|
|
|
|
1996-10-10 15:00:53 +00:00
|
|
|
MAINTAINER= peter@FreeBSD.org
|
|
|
|
|
1997-07-02 04:59:54 +00:00
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
|
1997-08-21 08:09:56 +00:00
|
|
|
RUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk80
|
|
|
|
BUILD_DEPENDS= tclsh8.0:${PORTSDIR}/lang/tcl80
|
|
|
|
WISH= wish8.0
|
|
|
|
TCLSH= tclsh8.0
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
# exmh is pretty useless without this, but it's not needed to build it.
|
1998-03-20 09:28:16 +00:00
|
|
|
.if defined(USE_NMH)
|
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/nmh
|
|
|
|
SCRIPTS_ENV+= USE_NMH=YES
|
|
|
|
.else
|
1996-10-10 15:00:53 +00:00
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/mh
|
1998-03-20 09:28:16 +00:00
|
|
|
.endif
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
# full mime support needs mmencode/mmdecode from metamail
|
|
|
|
RUN_DEPENDS+= mmencode:${PORTSDIR}/mail/metamail
|
|
|
|
|
|
|
|
# Additionally, exmh will use the following ports if present:
|
|
|
|
# lang/expect
|
|
|
|
# misc/glimpse
|
|
|
|
# security/pgp
|
1996-12-31 21:27:03 +00:00
|
|
|
# mail/faces
|
|
|
|
# audio/rplay
|
1996-10-10 15:00:53 +00:00
|
|
|
|
1996-12-31 21:27:03 +00:00
|
|
|
MAN1= exmh.1
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
do-build:
|
1997-08-21 08:09:56 +00:00
|
|
|
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH} \
|
1996-10-10 15:00:53 +00:00
|
|
|
WISH=${PREFIX}/bin/${WISH} WRKSRC=${WRKSRC} \
|
1998-03-20 09:28:16 +00:00
|
|
|
${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
|
1997-07-13 18:49:31 +00:00
|
|
|
WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/install
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|