mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# 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.3.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://xjack.org/logtool/download/
|
|
|
|
MAINTAINER= dhn@FreeBSD.org
|
|
COMMENT= Parse ASCII logfiles into ANSI, CSV, HTML formats
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/${PORTNAME}
|
|
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
MAN1= logtool.1
|
|
DOCS= CHANGES CREDITS README TODO doc/logtool.txt
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/src && ${GMAKE} INCLUDES="${CPPFLAGS}"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/logtool ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/logtool.1 ${MANPREFIX}/man/man1
|
|
@${MKDIR} ${EXAMPLESDIR} ${EXAMPLESDIR}/scripts
|
|
${INSTALL_DATA} ${WRKSRC}/conf/* ${EXAMPLESDIR}
|
|
@${RM} ${EXAMPLESDIR}/logtool.conf.in
|
|
${INSTALL_DATA} ${WRKSRC}/scripts/* ${EXAMPLESDIR}/scripts
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
@${SED} -e 's!PREFIX!${PREFIX}!' ${.CURDIR}/pkg-message > ${PKGMESSAGE}
|
|
${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|