summaryrefslogtreecommitdiff
path: root/databases/postgresql80/Makefile.common
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2006-04-08 19:08:25 +0000
committerjdolecek <jdolecek>2006-04-08 19:08:25 +0000
commitedacc1a79109f9ae17e15f79fd139e03e5589d57 (patch)
treeca7a27d6a3a6d85b1c4eb60d6ecf3e3a775a86e0 /databases/postgresql80/Makefile.common
parentfd7f7272c5e349a16dd704a7561c54af221ade1c (diff)
downloadpkgsrc-edacc1a79109f9ae17e15f79fd139e03e5589d57.tar.gz
use MASTER_SITE_PGSQL and replace PGSQL_MIRRORS_SORT with MASTER_SORT
Diffstat (limited to 'databases/postgresql80/Makefile.common')
-rw-r--r--databases/postgresql80/Makefile.common11
1 files changed, 7 insertions, 4 deletions
diff --git a/databases/postgresql80/Makefile.common b/databases/postgresql80/Makefile.common
index 71535830652..88c250cc389 100644
--- a/databases/postgresql80/Makefile.common
+++ b/databases/postgresql80/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.20 2006/04/06 06:21:42 reed Exp $
+# $NetBSD: Makefile.common,v 1.21 2006/04/08 19:08:25 jdolecek Exp $
#
# This Makefile fragment is included by all PostgreSQL packages built from
# the main sources of the PostgreSQL distribution except jdbc-postgresql.
@@ -9,16 +9,19 @@
# <lang>-postgresql client-side interface to PostgreSQL
# postgresql-<lang> server-side module for PostgreSQL backend
-.include "../../databases/postgresql80/Makefile.mirrors"
-
DISTNAME?= postgresql-${DIST_VERS}
CATEGORIES+= databases
-MASTER_SITES?= ${PGSQL_MIRRORS:=source/v${DIST_VERS}/}
+MASTER_SITES?= ${MASTER_SITE_PGSQL:=source/v${DIST_VERS}/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER?= joerg@NetBSD.org
HOMEPAGE?= http://www.postgresql.org/
+# Craft a MASTER_SORT_REGEX that understands the location of the country
+# code in the FTP server name for the PostgreSQL mirror sites.
+#
+MASTER_SORT_REGEX= ${MASTER_SORT:S/./\\./g:C/.*/:\/\/[^[\/]*&\/ :\/\/[^\/]*&\\./}
+
CONFLICTS+= postgresql-[0-9]* postgresql73-* postgresql74-* postgresql81-*
DISTINFO_FILE?= ${.CURDIR}/../postgresql80/distinfo