aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lookat/Makefile
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-23 22:13:27 +0800
committerosa <osa@FreeBSD.org>2003-06-23 22:13:27 +0800
commit0586a6840f038e8b84258302709a9528101dc06e (patch)
treefbdb57e0018b07287a982a1a377e57eccde91256 /sysutils/lookat/Makefile
parent37da614799444409508a572d2c36689485010700 (diff)
downloadfreebsd-ports-gnome-0586a6840f038e8b84258302709a9528101dc06e.tar.gz
freebsd-ports-gnome-0586a6840f038e8b84258302709a9528101dc06e.tar.zst
freebsd-ports-gnome-0586a6840f038e8b84258302709a9528101dc06e.zip
Update to 1.3.3
Submitted by: maintainer PR: 53598 Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'sysutils/lookat/Makefile')
-rw-r--r--sysutils/lookat/Makefile21
1 files changed, 17 insertions, 4 deletions
diff --git a/sysutils/lookat/Makefile b/sysutils/lookat/Makefile
index 588638bf6b4a..996752fc33db 100644
--- a/sysutils/lookat/Makefile
+++ b/sysutils/lookat/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lookat
-PORTVERSION= 1.3.2
+PORTVERSION= 1.3.3
CATEGORIES= sysutils
MASTER_SITES= http://staf.patat.org/downloads/
DISTNAME= ${PORTNAME}_bekijk-${PORTVERSION}
@@ -18,11 +18,24 @@ 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
+ @${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}