2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2013 Alexander Pyhalov. All rights reserved.
14 # Copyright 2023 Klaus Ziegler
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= pgadmin3
20 COMPONENT_VERSION
= 1.23
22 COMPONENT_SUMMARY
= pgAdminIII administration and development GUI for PostgreSQL
23 COMPONENT_SRC
= pgadmin3-lts-master-20220717
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:4237b54f98316367a2474631bfe7d60f84c5d5e0339c549e64fdf4f02706f009
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/allentc
/pgadmin3-lts
/archive
/refs
/tags/master-20220717.
tar.gz
27 COMPONENT_PROJECT_URL
= https
://www.pgadmin.org
28 COMPONENT_FMRI
= database
/postgres
/pgadmin
29 COMPONENT_CLASSIFICATION
= System
/Databases
30 COMPONENT_LICENSE
= BSD
31 COMPONENT_LICENSE_FILE
= LICENSE
33 LDFLAGS
+= -L
$(PG_LIBDIR
) -R
$(PG_LIBDIR
)
34 LDFLAGS
+= -lsocket
-lnsl
36 CONFIGURE_OPTIONS
+= --with-pgsql
=$(PG_HOME
)
38 include $(WS_MAKE_RULES
)/common.mk
40 COMPONENT_PRE_CONFIGURE_ACTION
= ( cd
$(SOURCE_DIR
); bash bootstrap
)
42 COMPONENT_BUILD_ENV
+= LDFLAGS
="$(LDFLAGS)"
45 PYTHON_REQUIRED_PACKAGES
+= library
/python
/sphinx
47 # Auto-generated dependencies
48 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
49 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
50 REQUIRED_PACKAGES
+= $(PG_LIBRARY_PKG
)
51 REQUIRED_PACKAGES
+= library
/graphics
/wxwidgets-3
52 REQUIRED_PACKAGES
+= library
/libssh2
53 REQUIRED_PACKAGES
+= library
/libxml2
54 REQUIRED_PACKAGES
+= library
/libxslt
55 REQUIRED_PACKAGES
+= system
/library
56 REQUIRED_PACKAGES
+= system
/library
/math