aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql_autodoc
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2012-01-08 06:06:38 +0800
committerolgeni <olgeni@FreeBSD.org>2012-01-08 06:06:38 +0800
commitca0649f23fd47da8a272f2462afb71bb7e025b55 (patch)
tree4728d8f6c7b5a5b194e050a13066e34ec09c1724 /databases/postgresql_autodoc
parent3ad30590e05d091a884b0a09e06fe35bbbd5c79e (diff)
downloadfreebsd-ports-gnome-ca0649f23fd47da8a272f2462afb71bb7e025b55.tar.gz
freebsd-ports-gnome-ca0649f23fd47da8a272f2462afb71bb7e025b55.tar.zst
freebsd-ports-gnome-ca0649f23fd47da8a272f2462afb71bb7e025b55.zip
Upgrade to version 1.41.
Diffstat (limited to 'databases/postgresql_autodoc')
-rw-r--r--databases/postgresql_autodoc/Makefile10
-rw-r--r--databases/postgresql_autodoc/distinfo4
-rw-r--r--databases/postgresql_autodoc/files/patch-Makefile12
3 files changed, 23 insertions, 3 deletions
diff --git a/databases/postgresql_autodoc/Makefile b/databases/postgresql_autodoc/Makefile
index 9843771b0e1c..950cb189f0a3 100644
--- a/databases/postgresql_autodoc/Makefile
+++ b/databases/postgresql_autodoc/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= postgresql_autodoc
-PORTVERSION= 1.40
+PORTVERSION= 1.41
CATEGORIES= databases
MASTER_SITES= http://www.rbt.ca/autodoc/binaries/
DIST_SUBDIR= postgresql
@@ -22,6 +22,14 @@ USE_GMAKE= yes
USE_PERL5= yes
CONFIGURE_ARGS+=--datadir=${DATADIR}
+MAN1= postgresql_autodoc.1
+
WRKSRC= ${WRKDIR}/postgresql_autodoc
+do-install:
+ @${INSTALL_SCRIPT} ${WRKSRC}/postgresql_autodoc ${PREFIX}/bin
+ @${INSTALL_MAN} ${WRKSRC}/postgresql_autodoc.1 ${MANPREFIX}/man/man1
+ @${MKDIR} ${DATADIR}
+ @${INSTALL_DATA} ${WRKSRC}/*.tmpl ${DATADIR}
+
.include <bsd.port.mk>
diff --git a/databases/postgresql_autodoc/distinfo b/databases/postgresql_autodoc/distinfo
index 2e62443b92a5..324d76e940ac 100644
--- a/databases/postgresql_autodoc/distinfo
+++ b/databases/postgresql_autodoc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (postgresql/postgresql_autodoc-1.40.tar.gz) = f18877f9e0ac71c4ae1d0c6a1b4c73e7967549560246a2c86773c788ec413a15
-SIZE (postgresql/postgresql_autodoc-1.40.tar.gz) = 26075
+SHA256 (postgresql/postgresql_autodoc-1.41.tar.gz) = 8fd8300a1913bd60be7b8214aadc8e193575c1fabe7797cbb6dcaed2b90eb8e9
+SIZE (postgresql/postgresql_autodoc-1.41.tar.gz) = 26461
diff --git a/databases/postgresql_autodoc/files/patch-Makefile b/databases/postgresql_autodoc/files/patch-Makefile
index 41ae691fd20f..276eca5a18f9 100644
--- a/databases/postgresql_autodoc/files/patch-Makefile
+++ b/databases/postgresql_autodoc/files/patch-Makefile
@@ -10,4 +10,16 @@ $FreeBSD$
-PREFIX = /usr/local
BINDIR = ${PREFIX}/bin
DATADIR = ${PREFIX}/share/postgresql_autodoc
+ MANDIR = ${PREFIX}/share/man/man1
+@@ -25,11 +24,6 @@
+ all: ${BINARY} ${MANPAGE}
+
+-${MANPAGE}: ${MANPAGE_SOURCE}
+- ${SED} -e "s,@@TEMPLATE-DIR@@,${DATADIR}," \
+- ${MANPAGE_SOURCE} > ${MANPAGE}
+-
+-
+ ${BINARY}: ${SOURCE}
+ ${SED} -e "s,/usr/bin/env perl,${PERL}," \
+ -e "s,@@TEMPLATE-DIR@@,${DATADIR}," \