aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2018-09-10 16:56:40 +0800
committergirgen <girgen@FreeBSD.org>2018-09-10 16:56:40 +0800
commit1fabd0b09e18df6d5719215f2b236ec399854266 (patch)
tree0ef93d6607151d07f41bd790664bb613308ce45f /databases
parent9a60b4b85c6936bc15bb5d368bc835650a98d714 (diff)
downloadfreebsd-ports-gnome-1fabd0b09e18df6d5719215f2b236ec399854266.tar.gz
freebsd-ports-gnome-1fabd0b09e18df6d5719215f2b236ec399854266.tar.zst
freebsd-ports-gnome-1fabd0b09e18df6d5719215f2b236ec399854266.zip
Update pgbadger to version 10.0
Release notes: http://pgbadger.darold.net/#news
Diffstat (limited to 'databases')
-rw-r--r--databases/pgbadger/Makefile14
-rw-r--r--databases/pgbadger/distinfo6
-rw-r--r--databases/pgbadger/files/patch-Makefile.PL18
3 files changed, 31 insertions, 7 deletions
diff --git a/databases/pgbadger/Makefile b/databases/pgbadger/Makefile
index ca3dfdb43cc9..b42371135b32 100644
--- a/databases/pgbadger/Makefile
+++ b/databases/pgbadger/Makefile
@@ -2,17 +2,23 @@
# $FreeBSD$
PORTNAME= pgbadger
-PORTVERSION= 9.2
+PORTVERSION= 10.0
DISTVERSIONPREFIX=v
CATEGORIES= databases
-USE_GITHUB= yes
-GH_ACCOUNT= dalibo
-
MAINTAINER= girgen@FreeBSD.org
COMMENT= Very competent log analyzer for PostgreSQL
+LICENSE= PostgreSQL
+
+BUILD_DEPENDS= gsed:textproc/gsed
+
+USE_GITHUB= yes
+GH_ACCOUNT= darold
+
USES= perl5
USE_PERL5= configure
+NO_ARCH= yes
+
.include <bsd.port.mk>
diff --git a/databases/pgbadger/distinfo b/databases/pgbadger/distinfo
index 01ce336b7162..1a367ca4de1c 100644
--- a/databases/pgbadger/distinfo
+++ b/databases/pgbadger/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501702648
-SHA256 (dalibo-pgbadger-v9.2_GH0.tar.gz) = 2107466309a409fb9e40f11bb77cac1f9ba7910d5328e7b2e08eb7a1c6d760ec
-SIZE (dalibo-pgbadger-v9.2_GH0.tar.gz) = 745128
+TIMESTAMP = 1536567793
+SHA256 (darold-pgbadger-v10.0_GH0.tar.gz) = 74973f686e3b2d865f344489acc54d2fa5547d252131e87b46bdf624a3969740
+SIZE (darold-pgbadger-v10.0_GH0.tar.gz) = 775322
diff --git a/databases/pgbadger/files/patch-Makefile.PL b/databases/pgbadger/files/patch-Makefile.PL
new file mode 100644
index 000000000000..7882b2062742
--- /dev/null
+++ b/databases/pgbadger/files/patch-Makefile.PL
@@ -0,0 +1,18 @@
+--- Makefile.PL.orig 2018-09-10 08:43:15 UTC
++++ Makefile.PL
+@@ -45,12 +45,12 @@ doc/synopsis.pod: Makefile pgbadger
+ echo "=head1 SYNOPSIS" > $@
+ ./pgbadger --help >> $@
+ echo "=head1 DESCRIPTION" >> $@
+- sed -i 's/ +$$//g' $@
++ gsed -i 's/ +$$//g' $@
+
+ .PHONY: doc/pgBadger.pod
+ doc/pgBadger.pod: doc/synopsis.pod Makefile
+- sed -i '/^=head1 SYNOPSIS/,/^=head1 DESCRIPTION/d' $@
+- sed -i '4r $<' $@
++ gsed -i '/^=head1 SYNOPSIS/,/^=head1 DESCRIPTION/d' $@
++ gsed -i '4r $<' $@
+ EOMAKE
+ }
+