openbsd-ports/mail/exmh2/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.23 2005/04/05 22:50:56 alek Exp $
1998-05-16 23:21:12 -04:00
COMMENT= "Tcl/Tk interface to the MH mail system"
DISTNAME= exmh-2.7.2
CATEGORIES= mail
HOMEPAGE= http://www.beedub.com/exmh/
MAINTAINER= Michael Paddon <michael@paddon.org>
1998-05-16 23:21:12 -04:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
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
2003-12-27 18:30:05 -05:00
BUILD_DEPENDS= :tcl-8.4.*:lang/tcl/8.4
RUN_DEPENDS= :expect-*:lang/expect\
:nmh-*:mail/nmh\
:metamail-*:mail/metamail\
2003-12-27 18:30:05 -05:00
:tk-8.4.*:x11/tk/8.4
USE_X11= Yes
NO_BUILD= Yes
2002-10-27 12:21:39 -05:00
NO_REGRESS= Yes
PKG_ARCH= *
1998-05-16 23:21:12 -04:00
do-install:
${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
${INSTALL_DATA_DIR} ${PREFIX}/share/exmh
cp -r ${WRKSRC}/lib/. ${PREFIX}/share/exmh
cd ${PREFIX}/share && echo 'auto_mkindex exmh'\
2003-12-27 18:30:05 -05:00
| ${LOCALBASE}/bin/tclsh8.4
chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/exmh
find ${PREFIX}/share/exmh -type d -print0 | xargs -0 chmod ${DIRMODE}
find ${PREFIX}/share/exmh -type f -print0 | xargs -0 chmod ${SHAREMODE}
1998-05-16 23:21:12 -04:00
.include <bsd.port.mk>