1996-12-31 16:27:03 -05:00
|
|
|
# New ports collection Makefile for: exmh2
|
1999-10-11 10:21:04 -04:00
|
|
|
# Date created: 1 Jan 97
|
1996-10-10 11:00:53 -04:00
|
|
|
# Whom: Peter Wemm <peter@freebsd.org>
|
1996-10-15 07:27:38 -04:00
|
|
|
#
|
1999-08-25 02:51:17 -04:00
|
|
|
# $FreeBSD$
|
1996-10-15 07:27:38 -04:00
|
|
|
#
|
1996-10-10 11:00:53 -04:00
|
|
|
|
2000-04-14 13:10:50 -04:00
|
|
|
# "+=" and "?=" lines are for sharing this Makefile with japanese/exmh2.
|
2000-04-13 05:01:47 -04:00
|
|
|
PORTNAME= exmh
|
2001-07-20 19:57:40 -04:00
|
|
|
PORTVERSION= 2.5
|
2001-11-30 16:12:20 -05:00
|
|
|
PORTREVISION= 1
|
2001-01-22 15:06:10 -05:00
|
|
|
CATEGORIES+= mail tk83
|
2001-07-20 19:57:40 -04:00
|
|
|
MASTER_SITES= ftp://ftp.scriptics.com/pub/tcl/%SUBDIR%/
|
|
|
|
MASTER_SITES+= ftp://tcl.activestate.com/pub/tcl/%SUBDIR%/
|
|
|
|
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE}
|
2000-10-25 12:45:12 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
1997-12-26 21:32:46 -05:00
|
|
|
|
2000-10-11 11:58:08 -04:00
|
|
|
MAINTAINER?= bmah@FreeBSD.org
|
1996-10-10 11:00:53 -04:00
|
|
|
|
1999-05-10 21:35:42 -04:00
|
|
|
.if defined(JAPANESE_EXMH)
|
2000-02-27 10:19:43 -05:00
|
|
|
RUN_DEPENDS= wish8.0jp:${PORTSDIR}/japanese/tk80
|
|
|
|
BUILD_DEPENDS= tclsh8.0jp:${PORTSDIR}/japanese/tcl80
|
|
|
|
WISH= wish8.0jp
|
|
|
|
TCLSH= tclsh8.0jp
|
1999-05-10 21:35:42 -04:00
|
|
|
.else
|
2001-01-22 15:06:10 -05:00
|
|
|
RUN_DEPENDS= wish8.3:${PORTSDIR}/x11-toolkits/tk83
|
|
|
|
BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83
|
|
|
|
WISH= wish8.3
|
|
|
|
TCLSH= tclsh8.3
|
1999-05-10 21:35:42 -04:00
|
|
|
.endif
|
1996-10-10 11:00:53 -04:00
|
|
|
|
|
|
|
# exmh is pretty useless without this, but it's not needed to build it.
|
1999-05-10 21:35:42 -04:00
|
|
|
.if defined(JAPANESE_EXMH)
|
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/japanese/mh
|
|
|
|
.else
|
2000-04-16 20:19:02 -04:00
|
|
|
.if defined(WITH_MH)
|
1996-10-10 11:00:53 -04:00
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/mh
|
2000-03-05 04:56:17 -05:00
|
|
|
.else
|
|
|
|
RUN_DEPENDS+= repl:${PORTSDIR}/mail/nmh
|
2000-04-14 13:10:50 -04:00
|
|
|
SCRIPTS_ENV+= USE_NMH=YES
|
1998-03-20 04:28:16 -05:00
|
|
|
.endif
|
1999-05-10 21:35:42 -04:00
|
|
|
.endif
|
1996-10-10 11:00:53 -04: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 10:21:04 -04:00
|
|
|
# security/gnupg
|
1996-10-10 11:00:53 -04:00
|
|
|
# security/pgp
|
1999-10-11 10:21:04 -04:00
|
|
|
# security/pgp5
|
2000-10-11 11:58:08 -04:00
|
|
|
# security/pgp6
|
1996-12-31 16:27:03 -05:00
|
|
|
# mail/faces
|
|
|
|
# audio/rplay
|
1996-10-10 11:00:53 -04:00
|
|
|
|
2000-04-13 05:01:47 -04:00
|
|
|
PLIST_SUB= EXMH_VERSION=${PORTVERSION}
|
1999-11-10 16:28:29 -05:00
|
|
|
|
1996-12-31 16:27:03 -05:00
|
|
|
MAN1= exmh.1
|
1996-10-10 11:00:53 -04:00
|
|
|
|
|
|
|
do-build:
|
1997-08-21 04:09:56 -04:00
|
|
|
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} TCLSH=${TCLSH} \
|
1996-10-10 11:00:53 -04:00
|
|
|
WISH=${PREFIX}/bin/${WISH} WRKSRC=${WRKSRC} \
|
1998-03-20 04:28:16 -05:00
|
|
|
${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/build
|
1996-10-10 11:00:53 -04:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} PREFIX=${PREFIX} \
|
1997-07-13 14:49:31 -04:00
|
|
|
WRKSRC=${WRKSRC} ${SH} ${SCRIPTDIR}/install
|
1996-10-10 11:00:53 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|