openbsd-ports/databases/pgadmin3/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2010/11/15 00:22:53 espie Exp $
COMMENT= administration and development platform for PostgreSQL
V= 1.12.1
DISTNAME= pgadmin3-$V
CATEGORIES= databases devel
HOMEPAGE= http://www.pgadmin.org/
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
# Artistic license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= converters/libiconv
WANTLIB= c m pthread stdc++ z
MASTER_SITES= ftp://ftp2.uk.postgresql.org/sites/ftp.postgresql.org/pgadmin3/release/v$V/src/ \
ftp://ftp5.us.postgresql.org/pub/PostgreSQL/pgadmin3/release/v$V/src/ \
ftp://ftp5.es.postgresql.org/mirror/postgresql/pgadmin3/release/v$V/src/ \
ftp://ftp.postgresql.org/pub/pgadmin3/release/v$V/src/
LIB_DEPENDS= wxWidgets-gtk2->=2.8.7:x11/wxWidgets \
databases/postgresql \
libxml->=2.4.8:textproc/libxml \
textproc/libxslt
WANTLIB += wx_base_xml wx_base_odbc wx_gtk2_html wx_gtk2_richtext \
wx_gtk2_stc wx_gtk2_ogl wx_gtk2_adv wx_gtk2_aui wx_gtk2_xrc \
wx_base_net wx_gtk2_dbgrid wx_gtk2_qa wx_base wx_gtk2_core \
pq>=4 xml2>=6 xslt>=3
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS}"
CONFIGURE_ARGS= --with-pgsql=${LOCALBASE}
USE_GMAKE= Yes
.include <bsd.port.mk>