1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/www/pglogd/Makefile
Edwin Groothuis fafb2df969 NEW PORT: pglod - inserts web logs into a PostgreSQL database
pgLOGd, simply put, is a program that takes web server log
	entries and sends them to a database. It is called pgLOGd
	because of the database it was designed to function with,
	PostgreSQL.

	It is fast, robust and features fall-back-logging to a text
	file.  It is flexible and typically uses less than 128K of
	memory.

PR:		ports/51647
Submitted by:	Allie Micka <allie@pajunas.com>
2003-10-08 11:22:32 +00:00

34 lines
933 B
Makefile

# New ports collection makefile for: pglogd
# Date created: 23 April 2003
# Whom: Allie Micka <allie@pajunas.com>
#
# $FreeBSD$
#
PORTNAME= pglogd
PORTVERSION= 2.2b
CATEGORIES= www databases
MASTER_SITES= http://www.digitalstratum.com/pglogd/
DISTNAME= pglogd-2.2beta
MAINTAINER= allie@pajunas.com
COMMENT= Sends web server log entries to a PostgreSQL database
LIB_DEPENDS= pq.3:${PORTSDIR}/databases/postgresql7
USE_REINPLACE= yes
post-extract:
@${CP} ${FILESDIR}/020.pglogd.sh ${WRKSRC}/020.pglogd.sh
@${REINPLACE_CMD} -e "s=%%PREFIX%%=${PREFIX}=g" ${WRKSRC}/020.pglogd.sh
post-install:
${INSTALL_DATA} ${WRKSRC}/020.pglogd.sh ${PREFIX}/etc/rc.d/020.pglogd.sh
@if [ ! -f ${PREFIX}/etc/rc.d/020.pglogd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/020.pglogd.sh startup file."; \
${INSTALL_SCRIPT} ${WRKSRC}/020.pglogd.sh ${PREFIX}/etc/rc.d/020.pglogd.sh; \
fi
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>