aboutsummaryrefslogtreecommitdiff
path: root/databases/pgadmin3-12/Makefile
blob: 133b4fe1656a87e13f90f01736dbb510a763f36f (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
# New ports collection makefile for:    pgadmin3
# Date created:                         November 4, 2003
# Whom:                                 Max Khon
#
# $FreeBSD$
#

PORTNAME=	pgadmin3
PORTVERSION=	1.0.1
PORTREVISION=	2
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= pgadmin3/release/src

MAINTAINER=	fjoe@FreeBSD.org
COMMENT=	PostgreSQL database design and management system

LIB_DEPENDS=	pq.3:${PORTSDIR}/${POSTGRESQL_PORT}

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-wx=${X11BASE}
CONFIGURE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
		PTHREAD_LIBS="${PTHREAD_LIBS}"

POSTGRESQL_PORT?=	databases/postgresql-client

.include <bsd.port.pre.mk>

#.if ${OSVERSION} < 500000
LIB_DEPENDS+=	wx_gtk2_stc-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2-contrib
CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.4-config
#.else
#LIB_DEPENDS+=	wx_gtk2u_stc-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib
#CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.4-config
#.endif

.include <bsd.port.post.mk>