aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lookat/Makefile
blob: 161fe9130bc5a78bf97ad584392d7571f59574c6 (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
34
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$

PORTNAME=   lookat
PORTVERSION=    1.4.3
CATEGORIES= sysutils
MASTER_SITES=   http://www.wagemakers.be/downloads/lookat/
DISTNAME=   ${PORTNAME}_bekijk-${PORTVERSION}

MAINTAINER= pawel@FreeBSD.org
COMMENT=    Program to view Un*x text files and manual pages

GNU_CONFIGURE=  yes
USES=       gmake

PORTDOCS=   README

OPTIONS_DEFINE= DOCS

post-patch:
    @${REINPLACE_CMD} 's|/etc/lookat.conf|${PREFIX}&|g' \
        ${WRKSRC}/${PORTNAME}.1

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/lookat ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/lookat.1 ${STAGEDIR}${PREFIX}/man/man1
    ${INSTALL_DATA} ${WRKSRC}/lookat.conf.default \
        ${STAGEDIR}${PREFIX}/etc/lookat.conf.sample

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>