summaryrefslogtreecommitdiff
path: root/databases/postgresql84-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql84-server')
-rw-r--r--databases/postgresql84-server/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 4877caf30063..8d367a1b56ef 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -1,5 +1,4 @@
-# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
-#
+# Created by: Marc G. Fournier <scrappy@FreeBSD.org>
# $FreeBSD$
PORTNAME?= postgresql
@@ -35,9 +34,9 @@ GNU_CONFIGURE= yes
.undef GNU_CONFIGURE
.endif
-PG_USER?= pgsql
-PG_GROUP?= ${PG_USER}
-PG_UID?= 70
+PG_USER= pgsql
+PG_GROUP= pgsql
+PG_UID= 70
LDFLAGS+= -L${LOCALBASE}/lib
INCLUDES+= -I${LOCALBASE}/include
@@ -63,10 +62,6 @@ USE_RC_SUBR= postgresql
USE_PGSQL= yes
WANT_PGSQL_VER= ${DISTVERSION:C/([0-9][0-9]*)\.([0-9][0-9]*).*/\1\2/g}
USERS= ${PG_USER}
-. if ${USERS} != "pgsql"
-UID_FILES+= ${WRKDIR}/pguid
-GID_FILES+= ${WRKDIR}/pggid
-. endif
GROUPS= ${PG_GROUP}
SUB_FILES+= 502.pgsql
.endif
@@ -343,12 +338,6 @@ post-patch:
${WRKSRC}/configure.in
. endif
-. if defined(SERVER_ONLY) && (${PG_USER} != "pgsql")
-pre-install:
- @${SED} -n s,pgsql,${PG_USER},gp ${PORTSDIR}/UIDs > ${WRKDIR}/pguid
- @${SED} -n s,pgsql,${PG_GROUP},gp ${PORTSDIR}/GIDs > ${WRKDIR}/pggid
-. endif
-
do-install:
@for dir in ${INSTALL_DIRS}; do \
cd ${WRKSRC}/$${dir} && \