summaryrefslogtreecommitdiffstats
path: root/mail/tkrat2/Makefile
blob: 2453a3f9d0a701b8907ab825a75c431ebe9eb4bb (plain)
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
# New ports collection makefile for:	tkrat2
# Date created:		9 November 1999
# Whom:			Stephen J. Roznowski <sjr@home.net>
#
# $FreeBSD$
#

PORTNAME=	tkrat
PORTVERSION= 	2.0.rc6
CATEGORIES=	mail tk82
MASTER_SITES=	ftp://ftp.md.chalmers.se/pub/tkrat/ \
		ftp://ftp.sunet.se/pub/unix/mail/tkrat/
DISTNAME=	${PORTNAME}-2.0rc6

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	tcl82:${PORTSDIR}/lang/tcl82 \
		tk82:${PORTSDIR}/x11-toolkits/tk82 \
		c-client4.7:${PORTSDIR}/mail/cclient

GNU_CONFIGURE=	yes

CONFIGURE_ARGS=	--with-tcl-config=${PREFIX}/lib/tcl8.2 \
		--with-tk-config=${PREFIX}/lib/tk8.2

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

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>
OpenPOWER on IntegriCloud