summaryrefslogtreecommitdiff
path: root/databases/pgadmin3/Makefile
blob: 5f993d565ff6770ba566fb479a6a5698dc80d022 (plain)
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
# $NetBSD: Makefile,v 1.2 2006/04/17 13:46:20 wiz Exp $

DISTNAME=	pgadmin3-1.4.2
PKGREVISION=	1
CATEGORIES=	databases
MASTER_SITES=	${PGSQL_MIRRORS:=pgadmin3/release/v1.4.2/src/}

MAINTAINER=	adam@NetBSD.org
HOMEPAGE=	http://www.pgadmin.org/
COMMENT=	GUI administration tool for PostgreSQL RDBMS

USE_LANGUAGES=		c++
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-pgsql=${PREFIX:Q}
CONFIGURE_ARGS+=	--with-pgsql-include=${PREFIX:Q}/include/postgresql
CONFIGURE_ARGS+=	--with-wx=${BUILDLINK_PREFIX.wxGTK:Q}

PGDIR=			${PREFIX}/share/pgadmin3

pre-install:
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/de_DE/hints
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/en_US/hints
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/en_US/images
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/en_US/pg
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/en_US/slony
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/es_ES/hints
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/fr_FR/hints
	${INSTALL_DATA_DIR} ${PGDIR:Q}/docs/sl_SI/hints
	${INSTALL_DATA_DIR} ${PGDIR:Q}/ui

.include "../../databases/postgresql81/Makefile.mirrors"
.include "../../x11/wxGTK-contrib/buildlink3.mk"
.include "../../mk/pgsql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"