From 8a928af72d1ebb839a332158c27129b8a154275e Mon Sep 17 00:00:00 2001 From: Sean Chittenden Date: Thu, 4 Dec 2003 12:00:49 +0000 Subject: Introduce the world to PostgreSQL 7.4! By and large this release is regarded as a major release with features with interest to those with large databases. The updates are extensive and the best source of info is in the release notes. Enjoy and direct questions to database@! Release notes: http://www.postgresql.org/docs/7.4/static/release.html#RELEASE-7-4 PR: ports/59403, ports/59404, ports/59393, ports/59394, ports/59395, ports/59397, ports/59398, ports/59402, && ports/59401 Submitted by: maintainer Approved by: marcus (portmgr@ hat) --- databases/postgresql-docs/Makefile | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) (limited to 'databases/postgresql-docs/Makefile') diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile index 0f6a640c6f44..9f27a383e5db 100644 --- a/databases/postgresql-docs/Makefile +++ b/databases/postgresql-docs/Makefile @@ -4,37 +4,32 @@ # # $FreeBSD$ # -POSTGRESQL_PORT?= databases/postgresql7 -PORTNAME= postgresql -PORTVERSION!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V PORTVERSION -PORTREVISION?= 0 -CATEGORIES= databases java -MASTER_SITES= ${MASTER_SITE_PGSQL} -MASTER_SITE_SUBDIR!= cd ${.CURDIR}/../../${POSTGRESQL_PORT} && ${MAKE} -V MASTER_SITE_SUBDIR +PORTREVISION= 0 PKGNAMESUFFIX= -docs -DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX} -DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= The PostgreSQL documentation set -MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo +POSTGRESQL_SUBPORT= YES +POSTGRESQL_PORT?= databases/postgresql7 +.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> +DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX} +.undef USE_GMAKE +.undef GNU_CONFIGURE NO_BUILD= YES do-install: @ $(MKDIR) ${DOCSDIR}/html; \ ${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \ - ( cd $(DOCSDIR)/html && $(TAR) xf - ) + ( cd ${DOCSDIR}/html && $(TAR) xf - ) post-install: @ ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} -v /$$ | \ - ${XARGS} printf "share/doc/postgresql/html/%s\n" >> ${TMPPLIST} ;\ - for dir in `$(TAR) ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$` ; do \ - ${ECHO} @dirrm $$dir >> ${TMPPLIST} ;\ - done ;\ - ${ECHO} @dirrm share/doc/postgresql/html >> ${TMPPLIST} ;\ - ${ECHO} @dirrm share/doc/postgresql >> ${TMPPLIST} ;\ - ${ECHO} '@unexec rmdir %D/share/postgresql 2> /dev/null || true' >> ${TMPPLIST} + ${SED} "s,^,${DOCSDIR:S,^${PREFIX}/,,}/html/," >> ${TMPPLIST} ;\ + ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} /$$ | \ + ${SED} "s,^,@dirrm\ ," >> ${TMPPLIST} ;\ + ${ECHO} @dirrm ${DOCSDIR:S,^${PREFIX}/,,}/html >> ${TMPPLIST} ;\ + ${ECHO} "@unexec rmdir %D/${DOCSDIR:S,^${PREFIX}/,,} 2> /dev/null || true" >> ${TMPPLIST} .include -- cgit v1.2.3