aboutsummaryrefslogtreecommitdiff
path: root/sysutils/logtool/Makefile
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2000-12-30 16:46:49 +0000
committerAlexander Langer <alex@FreeBSD.org>2000-12-30 16:46:49 +0000
commit338a207f4f75ad9cad730732d2cd42e5c76812bf (patch)
tree6ffa6c86afcd1c1ec5bf93994b465ad984a01656 /sysutils/logtool/Makefile
parentb92f33d4b2ee53baa1fef33dcaf30b81085d3ce6 (diff)
downloadports-338a207f4f75ad9cad730732d2cd42e5c76812bf.tar.gz
ports-338a207f4f75ad9cad730732d2cd42e5c76812bf.zip
Notes
Diffstat (limited to 'sysutils/logtool/Makefile')
-rw-r--r--sysutils/logtool/Makefile27
1 files changed, 27 insertions, 0 deletions
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 <ijliao@csie.nctu.edu.tw>
+#
+# $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 <bsd.port.mk>