aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/lookat
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
parent37da614799444409508a572d2c36689485010700 (diff)
downloadfreebsd-ports-graphics-0586a6840f038e8b84258302709a9528101dc06e.tar.gz
freebsd-ports-graphics-0586a6840f038e8b84258302709a9528101dc06e.tar.zst
freebsd-ports-graphics-0586a6840f038e8b84258302709a9528101dc06e.zip
Update to 1.3.3
Submitted by: maintainer PR: 53598 Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'sysutils/lookat')
-rw-r--r--sysutils/lookat/Makefile21
-rw-r--r--sysutils/lookat/distinfo2
-rw-r--r--sysutils/lookat/pkg-plist6
3 files changed, 21 insertions, 8 deletions
diff --git a/sysutils/lookat/Makefile b/sysutils/lookat/Makefile
index 588638bf6b4..996752fc33d 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}
diff --git a/sysutils/lookat/distinfo b/sysutils/lookat/distinfo
index 243b2138f08..6e1c8e16be0 100644
--- a/sysutils/lookat/distinfo
+++ b/sysutils/lookat/distinfo
@@ -1 +1 @@
-MD5 (lookat_bekijk-1.3.2.tar.gz) = a3f4b1bf0953dd7fb6dbbcd6e788cddd
+MD5 (lookat_bekijk-1.3.3.tar.gz) = 60b9313ffdb60041f856bd4f57f442f9
diff --git a/sysutils/lookat/pkg-plist b/sysutils/lookat/pkg-plist
index 3d0948af9ba..d42289e835f 100644
--- a/sysutils/lookat/pkg-plist
+++ b/sysutils/lookat/pkg-plist
@@ -1,4 +1,4 @@
bin/lookat
-etc/lookat.conf
-share/doc/lookat/README
-@dirrm share/doc/lookat
+etc/lookat.conf.sample
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%