openbsd-ports/mail/tkrat/Makefile
stu a581250db8 Now works with Tcl/Tk 8.5 and uses new port 'Byzi'.
Take maintainer with permission.

Ok sthen@ landry@
2012-08-22 05:17:33 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.27 2012/08/22 05:17:33 stu Exp $
COMMENT= mail user agent for X in C with a Tcl/Tk frontend
DISTNAME= tkrat-2.1.2
REVISION = 3
CATEGORIES= mail x11
HOMEPAGE= http://www.tkrat.org/
MAINTAINER= Stuart Cassoff <stwo@users.sourceforge.net>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= x11/tk
WANTLIB= c crypto ssl
MASTER_SITES= ftp://ftp.tkrat.org/pub/tkrat/
RUN_DEPENDS= ${MODTK_RUN_DEPENDS} x11/byzi
BUILD_DEPENDS= ${MODTK_BUILD_DEPENDS}
MAKE_FLAGS= BUSYLIB= DUMMYLIB= RATLIB_SUFFIX=.so.2.1 \
LIB_DIR=\$${prefix}/lib/tcl/tkrat \
DATA_DIR=\$${prefix}/lib/tcl/tkrat/app \
SHLIB_LD='cc -shared'
FAKE_FLAGS= UTIL_DIR=\$${prefix}/lib/tcl/tkrat/util
USE_GROFF = Yes
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= --with-tcl-bin="${LOCALBASE}/bin" \
--with-tcl-include="${MODTCL_INCDIR}" \
--with-tkconfig="${MODTK_LIBDIR}" \
--program-transform-name='s/2[.]1//'
NO_REGRESS= Yes
DOCS= CONFIGURATION doc/interface doc/userproc.example doc/userprocs
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tkrat
${INSTALL_DATA} ${DOCS:S!^!${WRKSRC}/!} ${PREFIX}/share/doc/tkrat
.include <bsd.port.mk>