mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
bcadc8453d
Approved by: fjoe (mentor)
45 lines
1.2 KiB
Makefile
45 lines
1.2 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.3.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://staf.patat.org/downloads/
|
|
DISTNAME= ${PORTNAME}_bekijk-${PORTVERSION}
|
|
|
|
MAINTAINER= krion@FreeBSD.org
|
|
COMMENT= Lookat is a program to view Un*x text files and manual pages
|
|
|
|
MAN1= lookat.1
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
|
|
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 \
|
|
${PREFIX}/etc/lookat.conf.sample
|
|
@${ECHO} "------------------------------------------------------------"
|
|
@${ECHO} "Sample of configuration file placed at"
|
|
@${ECHO} "${PREFIX}/etc/lookat.conf.sample"
|
|
@${ECHO} "------------------------------------------------------------
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|