1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/sysutils/lookat/Makefile
John Marino 22ceb1d9c1 sysutils/lookat: document ncurses requirement (USES+=ncurses)
approved by:	infrastructure blanket
2016-02-04 15:48:12 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= lookat
PORTVERSION= 1.4.4
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 ncurses
PLIST_FILES= bin/lookat \
"@sample etc/lookat.conf.sample" \
man/man1/lookat.1.gz
PORTDOCS= README
PORTEXAMPLES= blue_config.cfg
OPTIONS_DEFINE= DOCS EXAMPLES
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}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/blue_config.cfg \
${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>