freebsd-ports/mail/postilion/Makefile
Mikhail Teterin 0be247304a Redo the postilion port:
- Don't use the imap library that comes with it --
	  use the cclient port. Don't even extract it.
	- Don't bother patching configure and Makefile.in(s) --
	  use a local Makefile.
	- Use the latest TCL/TK 8.3. This port does not provide
	  any loadable packages, so I chose not to use tclstubs, but link
	  with libtk and libtcl directly.
	- Remove the tkstep cruft -- it was commented out since forever.
	- Finally fix the options.tcl -- the env(MAIL) logic was backwards.

To do: add support of Cyrillic charsets (koi8-u,
koi8-r). Currently has to be done by providing one's own
${LOCALBASE}/lib/postilion/postilionrc. Revisit installation of the
documentation. The existing port continues to ignore it completely.
2001-02-13 00:42:11 +00:00

32 lines
886 B
Makefile

# New ports collection makefile for: postilion
# Date created: 20 February 1999
# Whom: Glenn Johnson <gljohns@bellsouth.net>
#
# $FreeBSD$
#
PORTNAME= postilion
PORTVERSION= 0.9.3c
CATEGORIES= mail tk83
MASTER_SITES= http://www.postilion.org/
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
c-client4:${PORTSDIR}/mail/cclient
RUN_DEPENDS= ${LOCALBASE}/lib/Img1.2/pkgIndex.tcl:${PORTSDIR}/graphics/libimg
BUILD_DEPENDS= tclsh8.3:${PORTSDIR}/lang/tcl83
FETCH_BEFORE_ARGS= -b
MAKEFILE= ${FILESDIR}/Makefile.bsd
MAKE_ARGS= PORTVERSION="${PORTVERSION}" LOCALBASE="${LOCALBASE}" \
MKDIR="${MKDIR}" INSTALL_DATA="${INSTALL_DATA}" \
DIR=lib/postilionlib SED="${SED}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude '*/imap/*'
do-configure:
${LN} -s ${FILESDIR}/config.h ${WRKSRC}
.include <bsd.port.mk>