e0de738591
All applications in the ports tree works correctly with unicode version of wxGTK Newer version of wxGTK are unicode only (3.0+) Note that now WX_UNICODE macro is noop
36 lines
994 B
Makefile
36 lines
994 B
Makefile
# Created by: Max Khon
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pgadmin3
|
|
PORTVERSION= 1.20.0
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= PGSQL/pgadmin3/release/v${PORTVERSION}/src
|
|
DIST_SUBDIR= postgresql
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
COMMENT= PostgreSQL database design and management system
|
|
|
|
LICENSE= PostgreSQL
|
|
|
|
BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
|
|
|
|
IGNORE_WITH_PGSQL= 8.2 8.3 8.4
|
|
USES= gettext gmake pgsql #:9.0+
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-wx-version=${USE_WX} --enable-databasedesigner
|
|
USE_GNOME= libxml2 libxslt
|
|
USE_WX= 2.8
|
|
WX_COMPS= wx contrib
|
|
WX_UNICODE= yes
|
|
|
|
PLIST_FILES= bin/pgadmin3
|
|
PORTDATA= *
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure
|
|
@${REINPLACE_CMD} -e 's,wxrc,wxrc-gtk2u-2.8,' ${WRKSRC}/pgadmin/ui/embed-xrc
|
|
@${REINPLACE_CMD} -e 's,/usr/bin/xterm,${LOCALBASE}/bin/xterm,' ${WRKSRC}/plugins.d/plugins.ini
|
|
@${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/pgadmin/ver_svn.sh
|
|
|
|
.include <bsd.port.mk>
|