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
|
2005-01-08 19:05:22 +01:00
|
|
|
PORTVERSION= 1.2.0
|
2003-11-04 02:33:15 +01:00
|
|
|
CATEGORIES= databases
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PGSQL}
|
2005-01-13 16:25:51 +01: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
|
|
|
|
|
2003-11-04 23:05:54 +01:00
|
|
|
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
2003-11-04 02:33:15 +01:00
|
|
|
|
2004-06-27 23:18:25 +02:00
|
|
|
USE_REINPLACE= yes
|
2003-11-04 02:33:15 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-wx=${X11BASE}
|
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}"
|
2003-11-04 02:33:15 +01:00
|
|
|
|
2004-05-25 11:19:42 +02:00
|
|
|
POSTGRESQL_PORT?= databases/postgresql7
|
2003-11-04 02:33:15 +01:00
|
|
|
|
2004-06-27 23:18:25 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC}/src \( -name '*.cpp' -or -name '*.h' \) -print0 | \
|
|
|
|
${XARGS} -0 ${REINPLACE_CMD} -e 's,wxNotifyEvent,wxCommandEvent,g'
|
|
|
|
|
2003-11-04 23:05:54 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-06-27 23:18:25 +02:00
|
|
|
.if defined(WITH_UNICODE)
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
IGNORE= Systems prior to FreeBSD 5.0 currently out of support
|
|
|
|
.else
|
2004-11-25 21:07:36 +01:00
|
|
|
LIB_DEPENDS+= wx_gtk2u_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-unicode-contrib-devel
|
2004-06-27 23:18:25 +02:00
|
|
|
CONFIGURE_ARGS+=--with-wx-config=wxgtk2u-2.5-config
|
|
|
|
.endif
|
|
|
|
.else
|
2004-11-25 21:07:36 +01:00
|
|
|
LIB_DEPENDS+= wx_gtk2_stc-2.5.3:${PORTSDIR}/x11-toolkits/wxgtk2-contrib-devel
|
2004-06-27 23:18:25 +02:00
|
|
|
CONFIGURE_ARGS+=--with-wx-config=wxgtk2-2.5-config
|
|
|
|
.endif # WITH_UNICODE
|
2003-11-04 23:05:54 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|