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