aboutsummaryrefslogtreecommitdiffstats
path: root/mail/tkrat2/Makefile
blob: 5dc9f3d5bdd650d7ce070c126eb6fdb1a93683f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    tkrat2
# Date created:     9 November 1999
# Whom:         Stephen J. Roznowski <sjr@home.net>
#
# $FreeBSD$
#

PORTNAME=   tkrat
PORTVERSION=    2.1.2
CATEGORIES= mail tk83
MASTER_SITES=   ftp://ftp.tkrat.org/pub/tkrat/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A mail user agent for X with a Tcl/Tk user interface

LIB_DEPENDS=    tcl83:${PORTSDIR}/lang/tcl83 \
        tk83:${PORTSDIR}/x11-toolkits/tk83 \
        c-client4.8:${PORTSDIR}/mail/cclient

GNU_CONFIGURE=  yes

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

DOCFILES=   CONFIGURATION COPYRIGHT README doc/interface doc/userprocs \
        doc/userproc.example

MAN1=       tkrat.1

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} ${DOCSDIR}
.endfor
.else
    @${ECHO_MSG} "===>  Not copying available documents"
.endif
    @${MKDIR} ${PREFIX}/lib/ratatosk
    ${INSTALL_DATA} ${FILESDIR}/ratatoskrc ${PREFIX}/lib/ratatosk

.include <bsd.port.mk>