mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
29 lines
803 B
Makefile
29 lines
803 B
Makefile
# Created by: Allie Micka <allie@pajunas.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pglogd
|
|
PORTVERSION= 2.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= www databases
|
|
MASTER_SITES= http://digitalstratum.com/download/
|
|
|
|
MAINTAINER= allie@pajunas.com
|
|
COMMENT= Sends web server log entries to a PostgreSQL database
|
|
|
|
USE_PGSQL= yes
|
|
|
|
NO_STAGE= 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>
|