mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
34 lines
846 B
Makefile
34 lines
846 B
Makefile
# 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
|
|
|
|
FETCH_ARGS= -Fpr
|
|
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
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|