mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
a5090d825d
Feature safe: yes
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: araujo
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= googlog
|
|
PORTVERSION= 1.18
|
|
PORTREVISION= 1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.googlog.org/download/
|
|
DISTNAME= GoogLog-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= eadler@FreeBSD.org
|
|
COMMENT= GoogLog is a simple tool to search inside your syslog files
|
|
|
|
RUN_DEPENDS= p5-Config-Tiny>=0:${PORTSDIR}/devel/p5-Config-Tiny \
|
|
p5-HTML-Template>=0:${PORTSDIR}/www/p5-HTML-Template
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500903
|
|
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
|
|
.endif
|
|
|
|
do-install:
|
|
@${MKDIR} ${WWWDIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/GoogLog_cgi.pl ${WWWDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/googlog.ini ${WWWDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/index.html ${WWWDIR}/
|
|
|
|
.if !exists(${INSTALL_PATH}/googlog.ini)
|
|
${INSTALL_DATA} ${WRKSRC}/googlog.ini ${WWWDIR}/
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.html ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|