From 8078b1770fc5c9725b1e6aa19d3470acddde5460 Mon Sep 17 00:00:00 2001 From: ijliao Date: Sun, 11 Feb 2001 16:25:24 +0000 Subject: upgrade to 1.0.5 --- sysutils/logtool-devel/Makefile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'sysutils/logtool-devel/Makefile') diff --git a/sysutils/logtool-devel/Makefile b/sysutils/logtool-devel/Makefile index 0253e77151c5..6d2111b56716 100644 --- a/sysutils/logtool-devel/Makefile +++ b/sysutils/logtool-devel/Makefile @@ -7,7 +7,7 @@ # PORTNAME= logtool -PORTVERSION= 1.0.4 +PORTVERSION= 1.0.5 CATEGORIES= sysutils MASTER_SITES= http://users.digitex.net/~max/logtool/ @@ -15,24 +15,19 @@ MAINTAINER= ijliao@FreeBSD.org LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt -HAS_CONFIGURE= yes -CONFIGURE_ARGS= default +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=/usr/local --sysconfdir=/usr/local/etc/logtool ALL_TARGET= build -post-patch: -.for file in logtool/Makefile logtail/Makefile - @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} -.endfor -.for file in logtool/config.h conf/logtool.conf - @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/${file} -.endfor +MAN1: logtool.1 post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing logtool docs in ${PREFIX}/share/doc/logtool" @${MKDIR} ${PREFIX}/share/doc/logtool && ${CHMOD} a+rx ${PREFIX}/share/doc/logtool - @${CP} -R ${WRKSRC}/doc/* ${PREFIX}/share/doc/logtool + @${CP} -R ${WRKSRC}/doc/examples ${WRKSRC}/doc/logtool.txt ${PREFIX}/share/doc/logtool .endif .include -- cgit