# Created by: Kirill Ponomarew # $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 MAN1= lookat.1 OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} 's|/etc/lookat.conf|${PREFIX}&|g' \ ${WRKSRC}/${PORTNAME}.1 do-install: @${INSTALL_PROGRAM} ${WRKSRC}/lookat ${PREFIX}/bin @${INSTALL_MAN} ${WRKSRC}/lookat.1 ${PREFIX}/man/man1 @${INSTALL_DATA} ${WRKSRC}/lookat.conf.default \ ${PREFIX}/etc/lookat.conf.sample @if [ ! -f ${PREFIX}/etc/lookat.conf ]; then \ ${CP} -p ${PREFIX}/etc/lookat.conf.sample ${PREFIX}/etc/lookat.conf ; \ fi .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include