2002-05-13 19:31:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2002/05/13 23:31:25 espie Exp $
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2001-08-22 09:26:40 -04:00
|
|
|
COMMENT= "Tcl/Tk-based interface to the MH mail system"
|
|
|
|
DISTNAME= exmh-2.5
|
2001-07-12 17:51:18 -04:00
|
|
|
CATEGORIES= mail
|
2002-03-21 16:09:16 -05:00
|
|
|
NEED_VERSION= 1.515
|
2001-05-05 21:45:53 -04:00
|
|
|
|
2001-07-12 17:51:18 -04:00
|
|
|
HOMEPAGE= http://www.beedub.com/exmh/
|
|
|
|
MAINTAINER= Michael Paddon <michael@paddon.org>
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2001-08-22 09:26:40 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= "needs per-host configuration at build time"
|
|
|
|
PERMIT_PACKAGE_FTP= "needs per-host configuration at build time"
|
2000-03-16 23:01:30 -05:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_TCLTK:=exmh/}
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2001-11-10 10:00:47 -05:00
|
|
|
BUILD_DEPENDS= ::lang/tcl/8.3
|
|
|
|
RUN_DEPENDS= ::lang/expect\
|
|
|
|
::mail/nmh\
|
|
|
|
::mail/metamail\
|
|
|
|
::x11/tk/8.3
|
2001-07-12 17:51:18 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
NO_BUILD= Yes
|
1998-05-16 23:21:12 -04:00
|
|
|
|
|
|
|
do-install:
|
2001-07-12 17:51:18 -04:00
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/exmh ${PREFIX}/bin/exmh
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/exmh-bg ${PREFIX}/bin/exmh-bg
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/exmh-async ${PREFIX}/bin/exmh-async
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/ftp.expect ${PREFIX}/bin/ftp.expect
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/inc.expect ${PREFIX}/bin/inc.expect
|
|
|
|
${INSTALL_SCRIPT} ${WRKBUILD}/exmh-strip ${PREFIX}/bin/exmh-strip
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/exmh.l ${PREFIX}/man/man1/exmh.1
|
2001-08-22 09:26:40 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/exmh
|
|
|
|
cp -r ${WRKSRC}/lib/. ${PREFIX}/share/exmh
|
|
|
|
cd ${PREFIX}/share && echo 'auto_mkindex exmh'\
|
|
|
|
| ${LOCALBASE}/bin/tclsh8.3
|
|
|
|
chown -R ${SHAREOWN}.${SHAREGRP} ${PREFIX}/share/exmh
|
|
|
|
find ${PREFIX}/share/exmh -type d | xargs chmod ${DIRMODE}
|
|
|
|
find ${PREFIX}/share/exmh -type f | xargs chmod ${SHAREMODE}
|
1998-05-16 23:21:12 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|