From 338a207f4f75ad9cad730732d2cd42e5c76812bf Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sat, 30 Dec 2000 16:46:49 +0000 Subject: Add logtool 1.0.1, a command line program, that will parse syslog and syslog-alike logfiles into a more palatable format. PR: 23956 Submitted by: Ying-Chieh Liao --- sysutils/logtool/Makefile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 sysutils/logtool/Makefile (limited to 'sysutils/logtool/Makefile') diff --git a/sysutils/logtool/Makefile b/sysutils/logtool/Makefile new file mode 100644 index 000000000000..fa42950c7861 --- /dev/null +++ b/sysutils/logtool/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: logtool +# Date created: Dec 30, 2000 +# Whom: Ying-Chieh Liao +# +# $FreeBSD$ +# + +PORTNAME= logtool +PORTVERSION= 1.0.1 +CATEGORIES= sysutils +MASTER_SITES= http://users.digitex.net/~max/ + +MAINTAINER= ijliao@csie.nctu.edu.tw + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +USE_GMAKE= yes +ALL_TARGET= build + +post-patch: + @${PERL} -pi -e "s|make|${GMAKE}|g" ${WRKSRC}/Makefile +.for file in logtool/Makefile logtail/Makefile + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/${file} +.endfor + @${PERL} -pi -e "s|/etc|${PREFIX}/etc|g" ${WRKSRC}/logtool/config.h + +.include -- cgit v1.2.3