2004-05-19 14:25:28 +02:00
|
|
|
# New ports collection makefile for: visitors
|
|
|
|
# Date created: May 13 2004
|
|
|
|
# Whom: Florent Thoumie <flz@xbsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= visitors
|
2004-05-31 16:21:01 +02:00
|
|
|
PORTVERSION= 0.3a
|
2004-05-19 14:25:28 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.hping.org/visitors/
|
|
|
|
|
|
|
|
MAINTAINER= flz@xbsd.org
|
|
|
|
COMMENT= Very fast and easy to use web log analyzer
|
|
|
|
|
2004-05-31 16:21:01 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
|
2004-05-31 16:17:55 +02:00
|
|
|
|
|
|
|
USE_REINPLACE= yes
|
2004-05-19 14:25:28 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/visitors
|
|
|
|
PORTDOCS= doc.html
|
|
|
|
|
2004-05-31 16:17:55 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|^DEBUG=.*||' -e 's|^CC=.*||' \
|
|
|
|
-e 's|^\(CCOPT=\).*|\1 ${CFLAGS}|' ${WRKSRC}/Makefile
|
|
|
|
|
2004-05-19 14:25:28 +02:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/visitors ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|