diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-01-22 06:59:27 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-01-22 06:59:27 +0000 |
commit | 8575a6c9429d22a7cce80691cc623d60c638d41f (patch) | |
tree | 8f9b5f19a20db6d8ea463b211943b3bd6a08ba94 /databases/postgresql82-server/Makefile | |
parent | 747dd62de6bc0f875ed789019c47d745781894a2 (diff) | |
download | ports-8575a6c9429d22a7cce80691cc623d60c638d41f.tar.gz ports-8575a6c9429d22a7cce80691cc623d60c638d41f.zip |
- Add profile support for PostgreSQL servers
- re-assign LOCALBASE to PREFIX
- add PG_GROUP to SUB_PLIST for packaging fix
- fix permissions for package installations
PR: ports/162776
Submitted by: jgh, Phil Phillips < pphillips at experts-exchange.com >
Reviewed by: rene (mentor)
Approved by: crees (maintainer, mentor)
Notes
Notes:
svn path=/head/; revision=289587
Diffstat (limited to 'databases/postgresql82-server/Makefile')
-rw-r--r-- | databases/postgresql82-server/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/postgresql82-server/Makefile b/databases/postgresql82-server/Makefile index 230eedaecfa8..a12353eaba0d 100644 --- a/databases/postgresql82-server/Makefile +++ b/databases/postgresql82-server/Makefile @@ -7,7 +7,7 @@ PORTNAME?= postgresql DISTVERSION?= 8.2.22 -PORTREVISION?= 4 +PORTREVISION?= 5 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${DISTVERSION} @@ -231,7 +231,8 @@ MAN7= abort.7 alter_aggregate.7 alter_conversion.7 alter_database.7 \ savepoint.7 values.7 .endif -PLIST_SUB+= PG_USER=$(PG_USER) +PLIST_SUB+= PG_USER=$(PG_USER) \ + PG_GROUP=$(PG_GROUP) SUB_LIST+= PG_GROUP=$(PG_GROUP) \ PG_USER=$(PG_USER) \ PG_UID=$(PG_UID) @@ -286,7 +287,7 @@ do-install: ${MKDIR} ${PREFIX}/etc/periodic/daily ;\ ${INSTALL_SCRIPT} ${WRKDIR}/502.pgsql \ ${PREFIX}/etc/periodic/daily - ${MKDIR} ${LOCALBASE}/${PG_USER} && ${CHOWN} ${PG_USER}:${PG_GROUP} ${LOCALBASE}/${PG_USER} + ${MKDIR} ${PREFIX}/${PG_USER} && ${CHOWN} ${PG_USER}:${PG_GROUP} ${PREFIX}/${PG_USER} . endif # SERVER_ONLY . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} install-local |