freebsd-ports/sysutils/goaccess/Makefile
Sofian Brabez f0edf2ebcb - Update to 0.8.5
PR:		195321
Submitted by:	Neel Chauhan <neel at neelc.org>
2014-12-04 15:41:42 +00:00

44 lines
969 B
Makefile

# Created by: Sofian Brabez <sbrabez@gmail.com>
# $FreeBSD$
PORTNAME= goaccess
PORTVERSION= 0.8.5
CATEGORIES= sysutils
MASTER_SITES= http://tar.goaccess.io/
MAINTAINER= sbz@FreeBSD.org
COMMENT= Real-time Apache web log analyzer
LICENSE= GPLv2
LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USE_GNOME= glib20
USES= pkgconfig
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/${PORTNAME} \
man/man1/${PORTNAME}.1.gz
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README TODO
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>