diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2012-01-18 21:35:11 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2012-01-18 21:35:11 +0000 |
commit | 1cfcd19427085c7959fc425ba1b7d61b859d633b (patch) | |
tree | 4e6865102006724179a8389cecc8a631fd8cd30c /databases/postgresql92-server | |
parent | 4ebfa5d84c0ddec0cf505a5c4cfa8f7a05fe42e4 (diff) | |
download | ports-1cfcd19427085c7959fc425ba1b7d61b859d633b.tar.gz ports-1cfcd19427085c7959fc425ba1b7d61b859d633b.zip |
Notes
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r-- | databases/postgresql92-server/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql92-server/pkg-plist-server | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile index ceab5d0308d6..9ea3808d7ef2 100644 --- a/databases/postgresql92-server/Makefile +++ b/databases/postgresql92-server/Makefile @@ -7,6 +7,7 @@ PORTNAME?= postgresql DISTVERSION?= 9.1.2 +PORTREVISION?= 1 CATEGORIES?= databases MASTER_SITES= ${MASTER_SITE_PGSQL} MASTER_SITE_SUBDIR= source/v${DISTVERSION} @@ -354,6 +355,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} . endif # SERVER_ONLY . if defined(CLIENT_ONLY) @ cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${GMAKE} install-local diff --git a/databases/postgresql92-server/pkg-plist-server b/databases/postgresql92-server/pkg-plist-server index 2e2e06aac640..a53b19100fd2 100644 --- a/databases/postgresql92-server/pkg-plist-server +++ b/databases/postgresql92-server/pkg-plist-server @@ -765,6 +765,8 @@ share/postgresql/tsearch_data/ispell_sample.affix share/postgresql/tsearch_data/ispell_sample.dict share/postgresql/tsearch_data/synonym_sample.syn share/postgresql/tsearch_data/thesaurus_sample.ths +@exec /bin/mkdir -p %%LOCALBASE%%/%%PG_USER%% || /usr/bin/true +@exec /usr/bin/chown %%PG_USER%%:%%PG_GROUP %%LOCALBASE%%/%%PG_USER%% || /usr/bin/true @dirrmtry share/postgresql/tsearch_data @dirrmtry share/postgresql @dirrmtry etc/periodic/daily |