2001-01-14 14:24:21 -05:00
|
|
|
# ex:ts=8
|
2000-12-30 11:46:49 -05:00
|
|
|
# New ports collection makefile for: logtool
|
2001-01-14 14:24:21 -05:00
|
|
|
# Date created: Dec 30, 2000
|
2000-12-30 11:46:49 -05:00
|
|
|
# Whom: Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= logtool
|
2001-06-12 02:55:10 -04:00
|
|
|
PORTVERSION= 1.0.6
|
2000-12-30 11:46:49 -05:00
|
|
|
CATEGORIES= sysutils
|
2001-06-12 02:55:10 -04:00
|
|
|
MASTER_SITES= http://www.xjack.org/logtool/logtool/
|
2000-12-30 11:46:49 -05:00
|
|
|
|
2002-01-06 23:20:29 -05:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-12-30 11:46:49 -05:00
|
|
|
|
|
|
|
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
|
|
|
|
|
2001-02-11 11:25:24 -05:00
|
|
|
GNU_CONFIGURE= yes
|
2001-06-12 02:55:10 -04:00
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX}/etc/logtool
|
2001-01-14 14:24:21 -05:00
|
|
|
|
2000-12-30 11:46:49 -05:00
|
|
|
ALL_TARGET= build
|
|
|
|
|
2001-02-22 20:49:49 -05:00
|
|
|
MAN1= logtool.1
|
2000-12-30 11:46:49 -05:00
|
|
|
|
2001-06-12 02:55:10 -04:00
|
|
|
post-patch:
|
|
|
|
@${PERL} -pi -e "s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/configure
|
|
|
|
|
2001-01-12 13:47:04 -05:00
|
|
|
post-install:
|
2001-02-11 11:25:24 -05:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${PREFIX}/man/man1
|
2001-06-17 13:34:34 -04:00
|
|
|
@${CP} ${WRKSRC}/conf/logtool.conf ${PREFIX}/etc/logtool/logtool.conf.dist
|
|
|
|
@${CP} ${WRKSRC}/conf/exclude ${PREFIX}/etc/logtool/exclude.dist
|
|
|
|
@${CP} ${WRKSRC}/conf/green ${PREFIX}/etc/logtool/green.dist
|
|
|
|
@${CP} ${WRKSRC}/conf/include ${PREFIX}/etc/logtool/include.dist
|
|
|
|
@${CP} ${WRKSRC}/conf/yellow ${PREFIX}/etc/logtool/yellow.dist
|
2001-01-12 13:47:04 -05:00
|
|
|
.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
|
2001-02-11 11:25:24 -05:00
|
|
|
@${CP} -R ${WRKSRC}/doc/examples ${WRKSRC}/doc/logtool.txt ${PREFIX}/share/doc/logtool
|
2001-01-12 13:47:04 -05:00
|
|
|
.endif
|
|
|
|
|
2000-12-30 11:46:49 -05:00
|
|
|
.include <bsd.port.mk>
|