mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
b41c8d6c1f
- Fix binary installation (INSTALL_PROGRAM instead of INSTALL_SCRIPT + STRIP_CMD) Approved by: portmgr blanket
40 lines
860 B
Makefile
40 lines
860 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
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|