aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tablelog/Makefile
blob: ab0eb5c043a877bdcfe07ca0217a221d848ef1c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$

PORTNAME=   tablelog
PORTVERSION=    0.4.4
PORTREVISION=   1
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}

USES=       gmake
USE_PGSQL=  yes
WANT_PGSQL_VER= 91-
MAKE_ARGS=  USE_PGXS=1

PORTDOCS=   README.table_log table_log.sql

NO_STAGE=   yes
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>