2003-10-08 13:22:32 +02:00
|
|
|
# New ports collection makefile for: pglogd
|
|
|
|
# Date created: 23 April 2003
|
|
|
|
# Whom: Allie Micka <allie@pajunas.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pglogd
|
2004-05-26 19:43:43 +02:00
|
|
|
PORTVERSION= 2.3
|
2005-01-31 01:35:55 +01:00
|
|
|
PORTREVISION= 1
|
2003-10-08 13:22:32 +02:00
|
|
|
CATEGORIES= www databases
|
2005-11-25 06:05:52 +01:00
|
|
|
MASTER_SITES= http://digitalstratum.com/download/
|
2003-10-08 13:22:32 +02:00
|
|
|
|
|
|
|
MAINTAINER= allie@pajunas.com
|
|
|
|
COMMENT= Sends web server log entries to a PostgreSQL database
|
|
|
|
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= yes
|
2003-10-08 13:22:32 +02:00
|
|
|
|
|
|
|
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>
|