diff options
Diffstat (limited to 'databases/postgresql73-server/Makefile')
-rw-r--r-- | databases/postgresql73-server/Makefile | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/databases/postgresql73-server/Makefile b/databases/postgresql73-server/Makefile deleted file mode 100644 index f115dd66ab8..00000000000 --- a/databases/postgresql73-server/Makefile +++ /dev/null @@ -1,81 +0,0 @@ -# $NetBSD: Makefile,v 1.23 2006/04/23 00:12:37 jlam Exp $ - -PKGNAME= postgresql73-server-${BASE_VERS} -SVR4_PKGNAME= pstgs -COMMENT= PostgreSQL database server programs - -DEPENDS+= postgresql73-client>=${BASE_VERS}:../../databases/postgresql73-client - -# mips has no TAS implementation -NOT_FOR_PLATFORM= *-*-mips - - -.include "../../databases/postgresql73/Makefile.common" - -USE_TOOLS+= gtar -CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q} -BUILD_DIRS= ${WRKSRC}/src/backend -BUILD_DIRS+= ${WRKSRC}/src/backend/utils/mb/conversion_procs - -# PostgreSQL has loadable server-side language modules. -# XXX this breaks PostgreSQL server - see PR pkg/28729 -#.include "../../mk/dlopen.buildlink3.mk" - -PKG_OPTIONS_VAR= PKG_OPTIONS.postgresql73-server -PKG_SUPPORTED_OPTIONS= pam -.include "../../mk/bsd.options.mk" - -.if !empty(PKG_OPTIONS:Mpam) -. include "../../mk/pam.buildlink3.mk" -CONFIGURE_ARGS+= --with-pam -.endif - -# PGUSER username of the database administrator -# PGGROUP group of the database administrator -# PGHOME home directory of the database administrator and location of -# the databases -# -PGUSER?= pgsql -PGGROUP?= pgsql -PGHOME?= ${PREFIX}/${PGUSER} -FILES_SUBST+= PGUSER=${PGUSER:Q} -FILES_SUBST+= PGGROUP=${PGGROUP:Q} -FILES_SUBST+= PGHOME=${PGHOME:Q} -BUILD_DEFS+= PGUSER PGGROUP PGHOME - -PKG_GROUPS= ${PGGROUP} -PKG_USERS= ${PGUSER}:${PGGROUP} -PKG_GECOS.${PGUSER}= PostgreSQL database administrator -PKG_HOME.${PGUSER}= ${PGHOME} -PKG_SHELL.${PGUSER}= ${SH} - -RCD_SCRIPTS= pgsql - -post-wrapper: -# -# Avoid conflict between "${LOCALBASE}/include/openssl/des.h" and -# "/usr/include/crypt.h" -- we want the definitions in the former. -# -.if (${OPSYS} == "SunOS") - ${TOUCH} ${BUILDLINK_DIR}/include/crypt.h -.endif - -pre-install: - @case "X${PGUSER}" in \ - Xbin|Xetc|Xinclude|Xinfo|Xlib|Xlibdata|Xlibexec|Xman|Xsbin|Xshare) \ - ${ECHO} "You have chosen PGUSER=${PGUSER} which will"; \ - ${ECHO} "cause trouble, because the postgres home directory"; \ - ${ECHO} "would be ${PGHOME}. Please"; \ - ${ECHO} "set PGUSER to something more reasonable"; \ - ${ECHO} "like pgsql."; \ - ${ECHO} ""; \ - ${FALSE}; \ - ;; \ - esac - -post-install: - ${GTAR} zxCf ${PREFIX}/man ${WRKSRC}/doc/man.tar.gz \ - `${SED} -e "s|^#.*||" ${FILESDIR}/man.server` - -.include "../../databases/postgresql73-lib/buildlink3.mk" -.include "../../mk/bsd.pkg.mk" |