diff options
author | seanc <seanc@FreeBSD.org> | 2003-12-04 12:00:49 +0000 |
---|---|---|
committer | seanc <seanc@FreeBSD.org> | 2003-12-04 12:00:49 +0000 |
commit | a5e6beb57daa17e69c30411c7a53ad8ade67bc7a (patch) | |
tree | c88b11bb37189f15d55dc85d36600528d7052697 /databases/postgresql-docs | |
parent | cce91232221cb5a5443e53280cfd0738eaa079b4 (diff) | |
download | FreeBSD-ports-a5e6beb57daa17e69c30411c7a53ad8ade67bc7a.zip FreeBSD-ports-a5e6beb57daa17e69c30411c7a53ad8ade67bc7a.tar.gz |
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)
Diffstat (limited to 'databases/postgresql-docs')
-rw-r--r-- | databases/postgresql-docs/Makefile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile index 0f6a640..9f27a38 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 <bsd.port.mk> |