9d9201dcc5
viewer that runs in a terminal and provides fast and valuable HTTP statistics for system administrators that require a visual report on the fly. WWW: http://goaccess.prosoftcorp.com/ PR: ports/152332 Submitted by: Sofian Brabez <sbrabez at gmail.com>
44 lines
1,023 B
Makefile
44 lines
1,023 B
Makefile
# New ports collection makefile for: goaccess
|
|
# Date created: 2010-11-17
|
|
# Whom: Sofian Brabez <sbrabez@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= goaccess
|
|
PORTVERSION= 0.3.3
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}
|
|
|
|
MAINTAINER= sbrabez@gmail.com
|
|
COMMENT= Real-time Apache web log analyzer
|
|
|
|
LIB_DEPENDS= glib-2.0:${PORTSDIR}/devel/glib20 \
|
|
GeoIP.5:${PORTSDIR}/net/GeoIP
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
MAN1= ${PLIST_FILES:S,bin/,,:S,$,.1,}
|
|
.endif
|
|
|
|
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
|
|
|
|
do-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NO_INSTALL_MANPAGES)
|
|
${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/,} ${PREFIX}/man/man1
|
|
.endif
|
|
${INSTALL_SCRIPT} ${PORTNAME:S,^,${WRKSRC}/,} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|