aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tablelog/Makefile
blob: e6bcade59c88e12126ed3a6269cf75e7a01fc978 (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
35
36
37
38
39
# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$

PORTNAME=   tablelog
PORTVERSION=    0.4.4
PORTREVISION=   3
CATEGORIES= databases
MASTER_SITES=   http://pgfoundry.org/frs/download.php/1387/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Logs changes on a table in PostgreSQL

LICENSE=    PostgreSQL

DEPRECATED= Abandonware
EXPIRATION_DATE=    2019-09-15

WRKSRC=     ${WRKDIR}/table_log-${DISTVERSION}

USES=       gmake pgsql
LLD_UNSAFE= yes
MAKE_ARGS=  USE_PGXS=1

OPTIONS_DEFINE= DOCS

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql/
    ${INSTALL_LIB} ${WRKSRC}/table_log.so \
        ${STAGEDIR}${PREFIX}/lib/postgresql/
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/postgresql/contrib/
    ${INSTALL_DATA} ${WRKSRC}/table_log_init.sql \
        ${STAGEDIR}${PREFIX}/share/postgresql/contrib/

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/
    cd ${WRKSRC} && ${INSTALL_DATA} README.table_log table_log.sql \
        ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>