diff --git a/databases/pgadmin3/Makefile b/databases/pgadmin3/Makefile index b51c4090dec..b23d6ce89c6 100644 --- a/databases/pgadmin3/Makefile +++ b/databases/pgadmin3/Makefile @@ -1,9 +1,10 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2006/10/18 13:54:06 aanriot Exp $ +# $OpenBSD: Makefile,v 1.2 2007/05/03 07:42:55 aanriot Exp $ COMMENT= "administration and development platform for PostgreSQL" VERSION= 1.4.3 DISTNAME= pgadmin3-${VERSION} +PKGNAME= ${DISTNAME}p0 CATEGORIES= databases devel HOMEPAGE= http://www.pgadmin.org/ @@ -21,6 +22,8 @@ MASTER_SITES= ftp://ftp.postgresql.org/pub/pgadmin3/release/v${VERSION}/src/ LIB_DEPENDS= wx_base_xml,wx_base_odbc,wx_gtk2_html,wx_gtk2_stc,wx_gtk2_ogl,wx_gtk2_adv,wx_gtk2_xrc,wx_base_net,wx_gtk2_dbgrid,wx_gtk2_qa,wx_base,wx_gtk2_core:wxWidgets-gtk2->=2.6.3:x11/wxWidgets \ pq.>=4::databases/postgresql +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= ::databases/postgresql,-docs CONFIGURE_STYLE=gnu @@ -39,5 +42,8 @@ pre-build: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/${DOCDIR}/ @cp -R ${WRKSRC}/docs/* ${PREFIX}/${DOCDIR}/ + @rm -rf ${PREFIX}/${DOCDIR}/en_US/pg/ + @ln -s ${LOCALBASE}/share/doc/postgresql/html/ \ + ${PREFIX}/${DOCDIR}/en_US/pg/ .include diff --git a/databases/pgadmin3/patches/patch-docs_en_US_pgadmin3_hhc b/databases/pgadmin3/patches/patch-docs_en_US_pgadmin3_hhc new file mode 100644 index 00000000000..b45cf39bed6 --- /dev/null +++ b/databases/pgadmin3/patches/patch-docs_en_US_pgadmin3_hhc @@ -0,0 +1,12 @@ +$OpenBSD: patch-docs_en_US_pgadmin3_hhc,v 1.1 2007/05/03 07:42:55 aanriot Exp $ +--- docs/en_US/pgadmin3.hhc.orig Tue May 1 00:02:31 2007 ++++ docs/en_US/pgadmin3.hhc Tue May 1 00:09:03 2007 +@@ -198,7 +198,7 @@ + + +
  • +- ++ + + +