New port: pgagent

pgAgent is a job scheduler for PostgreSQL which may be managed using pgAdmin.
This commit is contained in:
Max Khon 2012-06-08 08:00:20 +00:00
parent c1656d2ed8
commit 670bb4f713
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298733
6 changed files with 57 additions and 0 deletions

View file

@ -531,6 +531,7 @@
SUBDIR += pg_rman
SUBDIR += pgaccess
SUBDIR += pgadmin3
SUBDIR += pgagent
SUBDIR += pgbouncer
SUBDIR += pgdbf
SUBDIR += pgfouine

View file

@ -0,0 +1,26 @@
# New ports collection makefile for: pgagent
# Date created: June 8, 2012
# Whom: Max Khon
#
# $FreeBSD$
#
PORTNAME= pgagent
PORTVERSION= 3.2.1
CATEGORIES= databases
MASTER_SITES= ${MASTER_SITE_PGSQL}
MASTER_SITE_SUBDIR= pgadmin3/release/pgagent
DISTNAME= pgAgent-${PORTVERSION}-Source
MAINTAINER= fjoe@FreeBSD.org
COMMENT= Job scheduler for PostgreSQL
MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
CMAKE_ARGS= -DSTATIC_BUILD:BOOL=NO -DWX_CONFIG_PATH:FILEPATH="${WX_CONFIG}"
USE_WX= 2.8
WX_UNICODE= yes
USE_PGSQL= yes
IGNORE_WITH_PGSQL= 82 83
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (pgAgent-3.2.1-Source.tar.gz) = 7264bdc5d5609d36aab814e3b329e10a87c0699274412a979b27a711f983f365
SIZE (pgAgent-3.2.1-Source.tar.gz) = 42722

View file

@ -0,0 +1,19 @@
--- CMakeLists.txt.orig 2012-04-18 18:16:55.000000000 +0700
+++ CMakeLists.txt 2012-06-08 14:51:19.000000000 +0700
@@ -133,12 +133,12 @@
INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION .)
ELSE(WIN32)
INSTALL(TARGETS pgagent DESTINATION bin)
- INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent.sql DESTINATION share)
- INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION share)
+ INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent.sql DESTINATION share/pgagent)
+ INSTALL(FILES ${pgagent_SOURCE_DIR}/pgagent_upgrade.sql DESTINATION share/pgagent)
ENDIF(WIN32)
-INSTALL(FILES ${pgagent_SOURCE_DIR}/README DESTINATION .)
-INSTALL(FILES ${pgagent_SOURCE_DIR}/LICENSE DESTINATION .)
+INSTALL(FILES ${pgagent_SOURCE_DIR}/README DESTINATION share/pgagent)
+INSTALL(FILES ${pgagent_SOURCE_DIR}/LICENSE DESTINATION share/pgagent)
################################################################################
# pgaevent

View file

@ -0,0 +1,3 @@
pgAgent is a job scheduler for PostgreSQL which may be managed using pgAdmin.
WWW: http://www.pgadmin.org/download/pgagent.php

View file

@ -0,0 +1,6 @@
bin/pgagent
%%DATADIR%%/LICENSE
%%DATADIR%%/README
%%DATADIR%%/pgagent.sql
%%DATADIR%%/pgagent_upgrade.sql
@dirrm %%DATADIR%%