summaryrefslogtreecommitdiff
path: root/databases/postgresql-docs
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-03-04 21:10:56 +0000
committerChris Rees <crees@FreeBSD.org>2012-03-04 21:10:56 +0000
commitbd8b33273e5241b22b1f3b50a53b3ed7b5f0de9c (patch)
tree16b664f86cbad60120788627a44670eeea3800e7 /databases/postgresql-docs
parentFix with 0 lentgh words (diff)
- Replace single magic postgresql-docs port with versioned ports.
- Fix docs for 90 and 91-- as of 9+ the docs require building Discussed with: girgen
Diffstat (limited to 'databases/postgresql-docs')
-rw-r--r--databases/postgresql-docs/Makefile56
-rw-r--r--databases/postgresql-docs/pkg-descr2
-rw-r--r--databases/postgresql-docs/pkg-plist1
3 files changed, 0 insertions, 59 deletions
diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile
deleted file mode 100644
index 0f61626be538..000000000000
--- a/databases/postgresql-docs/Makefile
+++ /dev/null
@@ -1,56 +0,0 @@
-# New ports collection makefile for: PostgreSQL docs
-# Date created: August 26, 2002
-# Whom: Palle Girgensohn <girgen@pingpong.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= postgresql
-PORTREVISION= 0
-PKGNAMESUFFIX= -docs
-
-MAINTAINER= crees@FreeBSD.org
-COMMENT= The PostgreSQL documentation set
-
-MASTERDIR= ${.CURDIR}/../postgresql${PGSQL_VER}-server
-
-DEFAULT_PGSQL_VER?=84
-
-# can't include <bsd.port.pre.mk> in a slave port
-# so set these instead:
-LOCALBASE?= /usr/local
-SED?= /usr/bin/sed
-
-CONFLICTS= postgresql-docs
-
-# Setting/finding PostgreSQL version we want.
-.if exists(${LOCALBASE}/bin/pg_config)
-PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\).*/\1\2/p'
-.else
-PGSQL_VER= ${DEFAULT_PGSQL_VER}
-.endif
-
-.if (${PGSQL_VER} == 90) || (${PGSQL_VER} == 91)
-BROKEN= "not implemented yet"
-.endif
-
-NO_BUILD= YES
-SLAVE_ONLY= YES
-PATCHDIR= mustnotexist
-
-PGDOCSDIR?= ${DOCSDIR}/release-${PGSQL_VER}
-
-do-install:
- @ $(MKDIR) ${PGDOCSDIR}; \
- ${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \
- ( cd ${PGDOCSDIR} && $(TAR) xf - )
-
-post-install:
- @ ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} -v /$$ | \
- ${SED} "s,^,${PGDOCSDIR:S,^${PREFIX}/,,}/," >> ${TMPPLIST} ;\
- ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \
- ${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\
- ${ECHO} @dirrm ${PGDOCSDIR:S,^${PREFIX}/,,} >> ${TMPPLIST} ;\
- ${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST}
-
-.include "${MASTERDIR}/Makefile"
diff --git a/databases/postgresql-docs/pkg-descr b/databases/postgresql-docs/pkg-descr
deleted file mode 100644
index 37331683ba41..000000000000
--- a/databases/postgresql-docs/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-This port installs all of PostgreSQL's documentation files into
-share/doc/postgresql/html
diff --git a/databases/postgresql-docs/pkg-plist b/databases/postgresql-docs/pkg-plist
deleted file mode 100644
index 435f005646ca..000000000000
--- a/databases/postgresql-docs/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-@comment automatically generated plist