diff options
Diffstat (limited to 'sysutils/lookat/Makefile')
-rw-r--r-- | sysutils/lookat/Makefile | 21 |
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} |