Makefile 970 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # $OpenBSD: Makefile,v 1.35 2017/04/10 11:45:24 sthen Exp $
  2. COMMENT= administration and development platform for PostgreSQL
  3. V= 1.22.1
  4. DISTNAME= pgadmin3-$V
  5. CATEGORIES= databases devel
  6. HOMEPAGE= http://www.pgadmin.org/
  7. MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
  8. # Artistic license
  9. PERMIT_PACKAGE_CDROM= Yes
  10. WANTLIB= c m pthread ${LIBCXX} crypto z
  11. MASTER_SITES= https://ftp.postgresql.org/pub/pgadmin3/release/v$V/src/ \
  12. ftp://ftp.postgresql.org/pub/pgadmin3/release/v$V/src/
  13. LIB_DEPENDS= x11/wxWidgets>=2.8.7 \
  14. databases/postgresql \
  15. textproc/libxml>=2.4.8 \
  16. textproc/libxslt
  17. WANTLIB += wx_base_xml wx_gtk2_html \
  18. wx_gtk2_stc wx_gtk2_adv wx_gtk2_aui wx_gtk2_xrc \
  19. wx_base_net wx_base wx_gtk2_core \
  20. pq>=4 xml2>=6 xslt>=3
  21. BUILD_DEPENDS += databases/postgresql,-server \
  22. textproc/py-sphinx
  23. CONFIGURE_STYLE=gnu
  24. CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS}"
  25. CONFIGURE_ARGS= --with-pgsql=${LOCALBASE}
  26. USE_GMAKE= Yes
  27. .include <bsd.port.mk>