openbsd-ports/mail/exmh2/Makefile
wilfried 31e55aa60f Update to exmh 2.6.1; from maintainer Michael Paddon <michael@paddon.org>
Lots of bug fixes and a new sequence menu.

The configuration is changed to allow the creation of a distibutable
package (before, the port relied on the local domain name as
discovered at configuration time). Now there is no default domain ...
i.e. the MTA should fully qualify addresses (as god intended).
2003-04-16 08:40:59 +00:00

45 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2003/04/16 08:40:59 wilfried Exp $
COMMENT= "Tcl/Tk interface to the MH mail system"
DISTNAME= exmh-2.6.1
CATEGORIES= mail
HOMEPAGE= http://www.beedub.com/exmh/
MAINTAINER= Michael Paddon <michael@paddon.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_TCLTK:=exmh/}
BUILD_DEPENDS= :tcl-8.3.*:lang/tcl/8.3
RUN_DEPENDS= :expect-*:lang/expect\
:nmh-*:mail/nmh\
:metamail-*:mail/metamail\
:tk-8.3.*:x11/tk/8.3
USE_X11= Yes
NO_BUILD= Yes
NO_REGRESS= Yes
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'\
| ${LOCALBASE}/bin/tclsh8.3
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}
.include <bsd.port.mk>