diff options
author | Sean Chittenden <seanc@FreeBSD.org> | 2003-12-04 12:00:49 +0000 |
---|---|---|
committer | Sean Chittenden <seanc@FreeBSD.org> | 2003-12-04 12:00:49 +0000 |
commit | 8a928af72d1ebb839a332158c27129b8a154275e (patch) | |
tree | c658c0da17e05366791dbe372c9e966663a70265 /databases/postgresql-docs/Makefile | |
parent | Update to 0.04.02 (diff) |
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)
Notes
Notes:
svn path=/head/; revision=94977
Diffstat (limited to 'databases/postgresql-docs/Makefile')
-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 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 <bsd.port.mk> |