2000-01-29 21:50:32 +01:00
|
|
|
# New ports collection makefile for: tkrat2
|
|
|
|
# Date created: 9 November 1999
|
|
|
|
# Whom: Stephen J. Roznowski <sjr@home.net>
|
1997-11-14 23:51:10 +01:00
|
|
|
#
|
1999-08-25 08:51:17 +02:00
|
|
|
# $FreeBSD$
|
1997-11-14 23:51:10 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 22:01:08 +02:00
|
|
|
PORTNAME= tkrat
|
2001-10-13 03:23:29 +02:00
|
|
|
PORTVERSION= 2.0.3
|
2001-04-09 00:02:59 +02:00
|
|
|
CATEGORIES= mail tk83
|
1997-11-14 23:51:10 +01:00
|
|
|
MASTER_SITES= ftp://ftp.md.chalmers.se/pub/tkrat/ \
|
2001-06-27 01:13:34 +02:00
|
|
|
ftp://ftp.sunet.se/pub/unix/mail/tkrat/ \
|
|
|
|
http://www.tkrat.org/downloads/stable/
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2000-01-29 21:50:32 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-11-14 23:51:10 +01:00
|
|
|
|
2001-04-09 00:02:59 +02:00
|
|
|
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \
|
|
|
|
tk83:${PORTSDIR}/x11-toolkits/tk83 \
|
2000-12-26 17:50:55 +01:00
|
|
|
c-client4.8:${PORTSDIR}/mail/cclient
|
1997-11-14 23:51:10 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
1998-07-20 05:09:37 +02:00
|
|
|
|
2001-04-09 00:02:59 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl-config=${PREFIX}/lib/tcl8.3 \
|
|
|
|
--with-tk-config=${PREFIX}/lib/tk8.3 \
|
|
|
|
--with-tcl-include=${PREFIX}/include/tcl8.3 \
|
|
|
|
--with-tk-include=${PREFIX}/include/tk8.3
|
|
|
|
MAKE_ARGS+= -j2 -B
|
|
|
|
EXTRACT_AFTER_ARGS=| ${TAR} -xf - --exclude '*/imap/*'
|
1997-11-14 23:51:10 +01:00
|
|
|
|
|
|
|
DOCFILES= CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
|
|
|
|
doc/userproc.example
|
|
|
|
|
2000-12-26 17:50:55 +01:00
|
|
|
MAN1= tkrat.1
|
|
|
|
|
1997-11-14 23:51:10 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/tkrat
|
|
|
|
.for f in ${DOCFILES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/tkrat
|
|
|
|
.endfor
|
|
|
|
.else
|
|
|
|
@${ECHO_MSG} "===> Not copying available documents"
|
|
|
|
.endif
|
|
|
|
@${MKDIR} ${PREFIX}/lib/ratatosk
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${PREFIX}/lib/ratatosk
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|