| @@ -1,53 +1,55 @@ | | | @@ -1,53 +1,55 @@ |
1 | # $NetBSD: Makefile,v 1.39 2013/07/20 05:10:42 richard Exp $ | | 1 | # $NetBSD: Makefile,v 1.40 2013/08/27 15:42:06 joerg Exp $ |
2 | | | 2 | |
3 | DISTNAME= pgadmin3-1.16.1 | | 3 | DISTNAME= pgadmin3-1.16.1 |
4 | CATEGORIES= databases | | 4 | CATEGORIES= databases |
5 | MASTER_SITES= ${MASTER_SITE_PGSQL:=pgadmin3/release/v${PKGVERSION_NOREV}/src/} | | 5 | MASTER_SITES= ${MASTER_SITE_PGSQL:=pgadmin3/release/v${PKGVERSION_NOREV}/src/} |
6 | | | 6 | |
7 | MAINTAINER= joerg@NetBSD.org | | 7 | MAINTAINER= joerg@NetBSD.org |
8 | HOMEPAGE= http://www.pgadmin.org/ | | 8 | HOMEPAGE= http://www.pgadmin.org/ |
9 | COMMENT= Graphical PostgreSQL client and administration tool | | 9 | COMMENT= Graphical PostgreSQL client and administration tool |
10 | LICENSE= postgresql-license | | 10 | LICENSE= postgresql-license |
11 | | | 11 | |
12 | USE_LANGUAGES= c99 c++ | | 12 | USE_LANGUAGES= c99 c++ |
13 | USE_TOOLS+= automake autoreconf gmake msgfmt | | 13 | USE_TOOLS+= automake autoreconf gmake msgfmt |
14 | GNU_CONFIGURE= yes | | 14 | GNU_CONFIGURE= yes |
15 | | | 15 | |
16 | PKG_OPTIONS_VAR= PKG_OPTIONS.pgadmin3 | | 16 | PKG_OPTIONS_VAR= PKG_OPTIONS.pgadmin3 |
17 | PKG_SUPPORTED_OPTIONS= pgadmin-db-designer doc | | 17 | PKG_SUPPORTED_OPTIONS= pgadmin-db-designer doc |
18 | PKG_SUGGESTED_OPTIONS= pgadmin-db-designer | | 18 | PKG_SUGGESTED_OPTIONS= pgadmin-db-designer |
19 | | | 19 | |
| | | 20 | REPLACE_SH= pgadmin/ver_svn.sh |
| | | 21 | |
20 | .include "../../mk/bsd.options.mk" | | 22 | .include "../../mk/bsd.options.mk" |
21 | | | 23 | |
22 | PLIST_VARS= doc | | 24 | PLIST_VARS= doc |
23 | | | 25 | |
24 | ### | | 26 | ### |
25 | ### Database Designer support | | 27 | ### Database Designer support |
26 | ### | | 28 | ### |
27 | .if !empty(PKG_OPTIONS:Mpgadmin-db-designer) | | 29 | .if !empty(PKG_OPTIONS:Mpgadmin-db-designer) |
28 | CONFIGURE_ARGS+= --enable-databasedesigner | | 30 | CONFIGURE_ARGS+= --enable-databasedesigner |
29 | .endif | | 31 | .endif |
30 | | | 32 | |
31 | .if !empty(PKG_OPTIONS:Mdoc) | | 33 | .if !empty(PKG_OPTIONS:Mdoc) |
32 | PLIST.doc= yes | | 34 | PLIST.doc= yes |
33 | PYTHON_FOR_BUILD_ONLY=yes | | 35 | PYTHON_FOR_BUILD_ONLY=yes |
34 | .include "../../lang/python/pyversion.mk" | | 36 | .include "../../lang/python/pyversion.mk" |
35 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.0:../../textproc/py-sphinx | | 37 | BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.0:../../textproc/py-sphinx |
36 | .else | | 38 | .else |
37 | CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= | | 39 | CONFIGURE_ENV+= ac_cv_path_SPHINX_BUILD= |
38 | .endif | | 40 | .endif |
39 | | | 41 | |
40 | CONFIGURE_ARGS+= --with-wx=${BUILDLINK_PREFIX.wxGTK28} | | 42 | CONFIGURE_ARGS+= --with-wx=${BUILDLINK_PREFIX.wxGTK28} |
41 | CONFIGURE_ARGS+= --with-libxml2=${BUILDLINK_PREFIX.libxml2} | | 43 | CONFIGURE_ARGS+= --with-libxml2=${BUILDLINK_PREFIX.libxml2} |
42 | CONFIGURE_ARGS+= --with-libxslt=${BUILDLINK_PREFIX.libxslt} | | 44 | CONFIGURE_ARGS+= --with-libxslt=${BUILDLINK_PREFIX.libxslt} |
43 | | | 45 | |
44 | pre-configure: | | 46 | pre-configure: |
45 | cd ${WRKSRC} && autoreconf -vfi | | 47 | cd ${WRKSRC} && autoreconf -vfi |
46 | | | 48 | |
47 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 49 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
48 | .include "../../textproc/libxml2/buildlink3.mk" | | 50 | .include "../../textproc/libxml2/buildlink3.mk" |
49 | .include "../../textproc/libxslt/buildlink3.mk" | | 51 | .include "../../textproc/libxslt/buildlink3.mk" |
50 | .include "../../x11/wxGTK28/buildlink3.mk" | | 52 | .include "../../x11/wxGTK28/buildlink3.mk" |
51 | .include "../../x11/wxGTK28-contrib/buildlink3.mk" | | 53 | .include "../../x11/wxGTK28-contrib/buildlink3.mk" |
52 | .include "../../mk/pgsql.buildlink3.mk" | | 54 | .include "../../mk/pgsql.buildlink3.mk" |
53 | .include "../../mk/bsd.pkg.mk" | | 55 | .include "../../mk/bsd.pkg.mk" |