svn commit: r326055 - head/databases/hashtypes
Pawel Pekala
pawel at FreeBSD.org
Mon Sep 2 18:52:49 UTC 2013
Author: pawel
Date: Mon Sep 2 18:52:48 2013
New Revision: 326055
URL: http://svnweb.freebsd.org/changeset/ports/326055
Log:
- Fix plist problems with PostgreSQL version > 9.0 by
setting target moduledir in make enviroment
- With default PostgreSQL version hashtypes.control file is
not installed while newer versions do install it,
fix this by adding post-install check
Approved by: maintainer via private mail
Modified:
head/databases/hashtypes/Makefile (contents, props changed)
head/databases/hashtypes/pkg-plist (contents, props changed)
Modified: head/databases/hashtypes/Makefile
==============================================================================
--- head/databases/hashtypes/Makefile Mon Sep 2 18:41:05 2013 (r326054)
+++ head/databases/hashtypes/Makefile Mon Sep 2 18:52:48 2013 (r326055)
@@ -3,6 +3,7 @@
PORTNAME= hashtypes
PORTVERSION= 0.1.1
+PORTREVISION= 1
CATEGORIES= databases security
MASTER_SITES= http://api.pgxn.org/dist/hashtypes/${PORTVERSION}/ \
http://oss-files.dreamindustries.co/mirror/
@@ -14,6 +15,11 @@ USE_PGSQL= yes
USE_GMAKE= yes
USE_ZIP= yes
-MAKE_ARGS= USE_PGXS=1
+MAKE_ARGS= USE_PGXS=1 MODULEDIR=extension
+MODULEDIR= ${PREFIX}/share/postgresql/extension
+
+post-install:
+ @[ -f ${MODULEDIR}/${PORTNAME}.control ] || \
+ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.control ${MODULEDIR}
.include <bsd.port.mk>
Modified: head/databases/hashtypes/pkg-plist
==============================================================================
--- head/databases/hashtypes/pkg-plist Mon Sep 2 18:41:05 2013 (r326054)
+++ head/databases/hashtypes/pkg-plist Mon Sep 2 18:52:48 2013 (r326055)
@@ -1,5 +1,6 @@
lib/postgresql/hashtypes.so
-share/doc/postgresql/contrib/README.hashtypes
-share/postgresql/contrib/hashtypes--0.1.1.sql
- at dirrmtry share/postgresql/contrib
- at dirrmtry share/doc/postgresql/contrib
+share/doc/postgresql/extension/README.hashtypes
+share/postgresql/extension/hashtypes--0.1.1.sql
+share/postgresql/extension/hashtypes.control
+ at dirrmtry share/postgresql/extension
+ at dirrmtry share/doc/postgresql/extension
More information about the svn-ports-all
mailing list