2003-11-04 02:33:15 +01:00
|
|
|
# New ports collection makefile for: pgadmin3
|
|
|
|
# Date created: November 4, 2003
|
|
|
|
# Whom: Max Khon
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pgadmin3
|
2007-10-28 18:31:27 +01:00
|
|
|
PORTVERSION= 1.8.0
|
2003-11-04 02:33:15 +01:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
2006-05-21 16:04:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= pgadmin3/release/v${PORTVERSION}/src
|
2003-11-04 02:33:15 +01:00
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= PostgreSQL database design and management system
|
|
|
|
|
2006-05-21 16:04:42 +02:00
|
|
|
USE_GETTEXT= yes
|
2005-01-31 01:35:55 +01:00
|
|
|
USE_PGSQL= yes
|
2006-12-04 18:37:22 +01:00
|
|
|
IGNORE_WITH_PGSQL= 73 74
|
2003-11-04 02:33:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2004-06-27 23:18:25 +02:00
|
|
|
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
2005-01-08 19:05:22 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" LIBS="${PTHREAD_LIBS}"
|
2006-12-03 16:45:54 +01:00
|
|
|
CONFIGURE_ARGS= --with-wx-version=${USE_WX}
|
2005-11-19 19:09:08 +01:00
|
|
|
CONFLICTS= pgadmin3-1.[12]*
|
2003-11-04 02:33:15 +01:00
|
|
|
|
2006-12-03 16:45:54 +01:00
|
|
|
USE_GNOME= libxml2 libxslt
|
|
|
|
USE_WX= 2.8
|
2006-07-24 20:39:12 +02:00
|
|
|
WX_COMPS= wx contrib
|
|
|
|
WX_CONF_ARGS= relative
|
2006-12-01 08:39:02 +01:00
|
|
|
WX_UNICODE= yes
|
2005-02-27 17:53:27 +01:00
|
|
|
|
2006-12-03 16:45:54 +01:00
|
|
|
post-patch:
|
2006-12-06 05:18:04 +01:00
|
|
|
@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure
|
2006-12-03 16:45:54 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 503105 || ${OSVERSION} < 600014
|
|
|
|
IGNORE= can not be built. Your system has broken vswprintf(3) function
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|