2010-11-19 02:23:05 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.31 2010/11/19 07:23:06 espie Exp $
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2007-09-15 20:17:04 -04:00
|
|
|
COMMENT= Tcl/Tk interface to the MH mail system
|
2003-04-16 04:40:59 -04:00
|
|
|
|
2005-04-05 18:50:56 -04:00
|
|
|
DISTNAME= exmh-2.7.2
|
2010-11-19 02:23:05 -05:00
|
|
|
REVISION = 0
|
2001-07-12 17:51:18 -04:00
|
|
|
CATEGORIES= mail
|
2001-05-05 21:45:53 -04:00
|
|
|
|
2001-07-12 17:51:18 -04:00
|
|
|
HOMEPAGE= http://www.beedub.com/exmh/
|
2003-04-16 04:40:59 -04:00
|
|
|
|
2001-07-12 17:51:18 -04:00
|
|
|
MAINTAINER= Michael Paddon <michael@paddon.org>
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2009-03-13 11:17:02 -04:00
|
|
|
# custom BSD-like
|
2003-04-16 04:40:59 -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
|
|
|
|
|
2007-05-27 10:17:02 -04:00
|
|
|
MASTER_SITES= ftp://ftp.funet.fi/pub/languages/tcl/tcl/exmh/ \
|
2006-02-04 18:50:19 -05:00
|
|
|
ftp://ftp.tcl.tk/pub/tcl/exmh/
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2009-03-13 11:17:02 -04:00
|
|
|
MODULES= x11/tk
|
|
|
|
# XXX broken fonts with 8.5
|
|
|
|
MODTCL_VERSION= 8.4
|
|
|
|
MODTK_VERSION= 8.4
|
|
|
|
BUILD_DEPENDS= ${MODTCL_RUN_DEPENDS}
|
2010-11-19 02:23:05 -05:00
|
|
|
RUN_DEPENDS= lang/expect\
|
|
|
|
mail/nmh\
|
|
|
|
mail/metamail\
|
2009-03-13 11:17:02 -04:00
|
|
|
${MODTK_RUN_DEPENDS}
|
2010-11-19 02:23:05 -05:00
|
|
|
USE_GROFF = Yes
|
2001-07-12 17:51:18 -04:00
|
|
|
NO_BUILD= Yes
|
2002-10-27 12:21:39 -05:00
|
|
|
NO_REGRESS= Yes
|
2005-04-05 18:50:56 -04:00
|
|
|
PKG_ARCH= *
|
1998-05-16 23:21:12 -04:00
|
|
|
|
2006-11-02 07:39:12 -05:00
|
|
|
do-configure:
|
|
|
|
@cd ${WRKDIST} && LOCALBASE=${LOCALBASE} PREFIX=${PREFIX} \
|
|
|
|
WRKSRC=${WRKSRC} WRKBUILD=${WRKBUILD} \
|
2009-03-13 11:17:02 -04:00
|
|
|
MODTCL_BIN=${MODTCL_BIN} MODTK_BIN=${MODTK_BIN} \
|
2006-11-02 07:39:12 -05:00
|
|
|
perl ${FILESDIR}/configure
|
|
|
|
|
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'\
|
2009-03-13 11:17:02 -04:00
|
|
|
| ${MODTCL_BIN}
|
2003-04-16 04:40:59 -04:00
|
|
|
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>
|