1996-12-31 21:27:03 +00:00
|
|
|
# New ports collection Makefile for: exmh2
|
1999-10-11 14:21:04 +00:00
|
|
|
# Date created: 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
|
|
|
#
|
1999-08-25 06:51:17 +00:00
|
|
|
# $FreeBSD$
|
1996-10-15 11:27:38 +00:00
|
|
|
#
|
1996-10-10 15:00:53 +00:00
|
|
|
|
1999-05-11 01:35:42 +00:00
|
|
|
# "?=" lines are for sharing this Makefile with japanese/exmh2.
|
2000-04-13 09:01:47 +00:00
|
|
|
PORTNAME= exmh
|
|
|
|
PORTVERSION= 2.1.1
|
1999-12-01 08:04:17 +00:00
|
|
|
CATEGORIES?= mail tk82
|
1998-07-03 23:07:17 +00:00
|
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/exmh/
|
1997-12-27 02:32:46 +00:00
|
|
|
|
1999-10-14 07:11:50 +00:00
|
|
|
MAINTAINER?= markm@FreeBSD.org
|
1996-10-10 15:00:53 +00:00
|
|
|
|
1999-05-11 01:35:42 +00:00
|
|
|
.if defined(JAPANESE_EXMH)
|
2000-02-27 15:19:43 +00:00
|
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80
|
|
|
|
BUILD_DEPENDS= tclsh8.0jp:${PORTSDIR}/japanese/tcl80
|
|
|
|
WISH= wish8.0jp
|
|
|
|
TCLSH= tclsh8.0jp
|
1999-05-11 01:35:42 +00:00
|
|
|
.else
|
1999-12-01 08:04:17 +00:00
|
|
|
RUN_DEPENDS= wish8.2:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
BUILD_DEPENDS= tclsh8.2:${PORTSDIR}/lang/tcl82
|
|
|
|
WISH= wish8.2
|
|
|
|
TCLSH= tclsh8.2
|
1999-05-11 01:35:42 +00:00
|
|
|
.endif
|
1996-10-10 15:00:53 +00:00
|
|
|
|
|
|
|
# exmh is pretty useless without this, but it's not needed to build it.
|
1999-05-11 01:35:42 +00:00
|
|
|
.if defined(JAPANESE_EXMH)
|
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/japanese/mh
|
|
|
|
.else
|
2000-03-05 09:56:17 +00:00
|
|
|
.if defined(USE_MH)
|
1996-10-10 15:00:53 +00:00
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/mh
|
2000-03-05 09:56:17 +00:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/nmh
|
|
|
|
SCRIPT_ENV+= USE_NMH=YES
|
1998-03-20 09:28:16 +00:00
|
|
|
.endif
|
1999-05-11 01:35:42 +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
|
1999-10-11 14:21:04 +00:00
|
|
|
# security/gnupg
|
1996-10-10 15:00:53 +00:00
|
|
|
# security/pgp
|
1999-10-11 14:21:04 +00:00
|
|
|
# security/pgp5
|
1996-12-31 21:27:03 +00:00
|
|
|
# mail/faces
|
|
|
|
# audio/rplay
|
1996-10-10 15:00:53 +00:00
|
|
|
|
2000-04-13 09:01:47 +00:00
|
|
|
PLIST_SUB= EXMH_VERSION=${PORTVERSION}
|
1999-11-10 21:28:29 +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>
|