From 0586a6840f038e8b84258302709a9528101dc06e Mon Sep 17 00:00:00 2001 From: osa Date: Mon, 23 Jun 2003 14:13:27 +0000 Subject: Update to 1.3.3 Submitted by: maintainer PR: 53598 Approved by: fjoe (mentor) (implicit) --- sysutils/lookat/Makefile | 21 +++++++++++++++++---- sysutils/lookat/distinfo | 2 +- sysutils/lookat/pkg-plist | 6 +++--- 3 files changed, 21 insertions(+), 8 deletions(-) (limited to 'sysutils/lookat') 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%% -- cgit