summaryrefslogtreecommitdiff
path: root/databases/pgadmin3/Makefile
blob: 9c616b2684bf7a400f4f98831ece1252ace7ca0b (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
37
38
39
40
# New ports collection makefile for:    pgadmin3
# Date created:                         November 4, 2003
# Whom:                                 Max Khon
#
# $FreeBSD$
#

PORTNAME=	pgadmin3
PORTVERSION=	1.8.4
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR=	pgadmin3/release/v${PORTVERSION}/src

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

USE_GETTEXT=	yes
USE_PGSQL=	yes
IGNORE_WITH_PGSQL=	73 74
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
CONFIGURE_ARGS=	--with-wx-version=${USE_WX}
CONFLICTS=	pgadmin3-1.[12]*

USE_GNOME=	libxml2 libxslt
USE_WX=		2.8
WX_COMPS=	wx contrib
WX_CONF_ARGS=	relative
WX_UNICODE=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 503105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600014)
IGNORE=		can not be built. Your system has broken vswprintf(3) function
.endif

.include <bsd.port.post.mk>