1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/databases/tablelog/Makefile
Andrew Pantyukhin 61c43ad466 Add port databases/tablelog:
Tablelog is a contributed PostgreSQL module that uses a trigger to log
any INSERTs, UPDATEs and DELETEs on a specific table into another table.
The second part of tablelog is able to restore the state of the original
table or of a specific row for any time in the past.

WWW: http://tablelog.projects.postgresql.org/
Author: Andreas Scherbaum <ads-pgfoundry @nospam@ wars-nicht.de>

PR:		ports/114541
Submitted by:	Robert Gogolok <gogo@cs.uni-sb.de>
2007-08-15 19:22:58 +00:00

39 lines
892 B
Makefile

# New ports collection makefile for: tablelog
# Date created: 11 July 2007
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
#
# $FreeBSD$
#
PORTNAME= tablelog
PORTVERSION= 0.4.4
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/1387/
MAINTAINER= gogo@cs.uni-sb.de
COMMENT= Logs changes on a table in PostgreSQL
WRKSRC= ${WRKDIR}/table_log-${DISTVERSION}
USE_GMAKE= yes
USE_PGSQL= yes
IGNORE_WITH_PGSQL= 73
MAKE_ARGS= USE_PGXS=1
PORTDOCS= README.table_log table_log.sql
do-install:
@${MKDIR} ${PREFIX}/lib/postgresql/
@${INSTALL_PROGRAM} ${WRKSRC}/table_log.so ${PREFIX}/lib/postgresql/
@${MKDIR} ${PREFIX}/share/postgresql/contrib/
@${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
${PREFIX}/share/postgresql/contrib/
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>