aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkman/Makefile
blob: c1ad5e667c1fd3f7c00b6ea459c43e11292a9610 (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
# 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=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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>