freebsd-ports/sysutils/lookat/Makefile
Martin Wilke 8006aae6f8 - Fix build after addition of adding getdelim(), getline()
PR:		132982
Submitted by:	Florian Smeets <flo@kasimir.com>
2009-03-23 21:47:57 +00:00

41 lines
1.1 KiB
Makefile

# New ports collection makefile for: lookat
# Date created: Tue Apr 22 15:56:54 CEST 2003
# Whom: Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#
PORTNAME= lookat
PORTVERSION= 1.4.1
CATEGORIES= sysutils
MASTER_SITES= http://www.wagemakers.be/uploads/37/16/
DISTNAME= ${PORTNAME}_bekijk-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A program to view Un*x text files and manual pages
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= lookat.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|/etc/lookat.conf|${PREFIX}/etc/lookat.conf|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
@${ECHO} "------------------------------------------------------------"
@${ECHO} "Sample of configuration file placed at"
@${ECHO} "${PREFIX}/etc/lookat.conf.default"
@${ECHO} "------------------------------------------------------------"
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>