aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkman/Makefile
blob: df50f1ca092c07c3b8af8741d8db193acc147f6c (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
# New ports collection makefile for:    tkman
# Date created:         27 Dec 1994
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   tkman
PORTVERSION=    2.1
CATEGORIES= misc tk83
MASTER_SITES=   ftp://tkman.sourceforge.net/pub/tkman/

MAINTAINER= tg@FreeBSD.org

LIB_DEPENDS=    tk83.1:${PORTSDIR}/x11-toolkits/tk83
RUN_DEPENDS=    rman:${PORTSDIR}/textproc/rman \
        glimpse:${PORTSDIR}/textproc/glimpse

post-patch:
    ${PERL} -pi -e "s;/usr/local/bin/wish;${LOCALBASE}/bin/wish8.3;" \
        ${WRKSRC}/contrib/tkmanclient

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/tkman
    ${INSTALL_DATA} ${WRKSRC}/tkman-help.html ${PREFIX}/share/doc/tkman
.endif
    ${INSTALL_SCRIPT} ${WRKSRC}/contrib/tkmanclient ${PREFIX}/bin
    @${MKDIR} ${PREFIX}/etc/periodic/weekly
    ${INSTALL_SCRIPT} ${FILESDIR}/310.index_manpages ${PREFIX}/etc/periodic/weekly

.include <bsd.port.mk>