mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
- 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
This commit is contained in:
parent
3368e72898
commit
e8c8c11b2e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=326055
@ -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>
|
||||
|
@ -1,5 +1,6 @@
|
||||
lib/postgresql/hashtypes.so
|
||||
share/doc/postgresql/contrib/README.hashtypes
|
||||
share/postgresql/contrib/hashtypes--0.1.1.sql
|
||||
@dirrmtry share/postgresql/contrib
|
||||
@dirrmtry share/doc/postgresql/contrib
|
||||
share/doc/postgresql/extension/README.hashtypes
|
||||
share/postgresql/extension/hashtypes--0.1.1.sql
|
||||
share/postgresql/extension/hashtypes.control
|
||||
@dirrmtry share/postgresql/extension
|
||||
@dirrmtry share/doc/postgresql/extension
|
||||
|
Loading…
Reference in New Issue
Block a user