1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

- Switch to wxWidgets 3.0.

- Bump PORTREVISION.
This commit is contained in:
Max Khon 2016-03-11 08:04:30 +00:00
parent f9eaa686aa
commit 2a198df066
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410812

View File

@ -3,7 +3,7 @@
PORTNAME= pgadmin3
PORTVERSION= 1.22.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= PGSQL/pgadmin3/release/v${PORTVERSION}/src
DIST_SUBDIR= postgresql
@ -19,8 +19,8 @@ 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
USE_WX= 3.0
WX_COMPS= wx
ICON_SIZES= 16 32
PLIST_FILES= bin/pgadmin3 share/applications/pgadmin3.desktop
@ -31,7 +31,7 @@ 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,wxrc,wxrc-gtk2u-${WX_VERSION},' ${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
@${REINPLACE_CMD} -e 's,Exec=/usr/bin/pgadmin3,Exec=${LOCALBASE}/bin/pgadmin3,'\