aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tkinfo/Makefile
blob: 5a25c8c1751ff1393e9eb1df89b766102b3cbfe4 (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
# 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=    BSD

NO_BUILD=   yes

USE_TK_WRAPPER= yes

MAN1=       tkinfo.1
PLIST_FILES=    bin/tkinfo

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/local/info|${LOCALBASE}/info|' ${WRKSRC}/tkinfo

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

.include <bsd.port.mk>