aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkinfo/Makefile
blob: 9dae0c38b2e7a6a21bcf11ef0ffa029743e544a7 (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
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   tkinfo
PORTVERSION=    2.8
PORTREVISION=   2
CATEGORIES= misc tk
MASTER_SITES=   http://math-www.uni-paderborn.de/~axel/tkinfo/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tk script to read GNU "info" files and display them

LICENSE=    MIT

NO_BUILD=   yes
USES+=      tk

PLIST_FILES=    bin/tkinfo \
        man/man1/tkinfo.1.gz

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/local/info|${LOCALBASE}/info|; \
         s|exec wish|exec ${WISH}|' ${WRKSRC}/tkinfo

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/tkinfo ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/tkinfo.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>