diff options
author | osa <osa@FreeBSD.org> | 2003-09-04 11:16:38 +0000 |
---|---|---|
committer | osa <osa@FreeBSD.org> | 2003-09-04 11:16:38 +0000 |
commit | 74db712c7876e8200185ca54e68d8efd453f4f19 (patch) | |
tree | 3bda6f675b4c9b3d6f15a6b95f68b124485d4f94 /databases/postgresql-docs | |
parent | cbb45340478b8343596b198399eab405c58b226b (diff) | |
download | FreeBSD-ports-74db712c7876e8200185ca54e68d8efd453f4f19.zip FreeBSD-ports-74db712c7876e8200185ca54e68d8efd453f4f19.tar.gz |
Use new depends scheme for postgresql slave ports:
${MAKE} -V ... instead of .include <...>
Submitted by: Palle Girgensohn <girgen@pingpong.net> (maintainer)
PR: 56346
Diffstat (limited to 'databases/postgresql-docs')
-rw-r--r-- | databases/postgresql-docs/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/databases/postgresql-docs/Makefile b/databases/postgresql-docs/Makefile index 576f4a5..0f6a640 100644 --- a/databases/postgresql-docs/Makefile +++ b/databases/postgresql-docs/Makefile @@ -4,26 +4,28 @@ # # $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 PKGNAMESUFFIX= -docs -PORTREVISION= 0 +DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX} +DIST_SUBDIR= postgresql MAINTAINER= girgen@pingpong.net COMMENT= The PostgreSQL documentation set -POSTGRESQL_SUBPORT= YES -POSTGRESQL_PORT?= databases/postgresql7 -.include <${.CURDIR}/../../${POSTGRESQL_PORT}/Makefile> -DISTFILES= postgresql-docs-${PORTVERSION}${EXTRACT_SUFX} -.undef USE_GMAKE -.undef GNU_CONFIGURE +MD5_FILE= ${.CURDIR}/../../${POSTGRESQL_PORT}/distinfo NO_BUILD= YES do-install: - @ $(MKDIR) ${PREFIX}/share/doc/postgresql/html; \ + @ $(MKDIR) ${DOCSDIR}/html; \ ${GZIP_CMD} -dc ${WRKSRC}/doc/postgres.tar.gz | \ - ( cd $(PREFIX)/share/doc/postgresql/html && $(TAR) xf - ) + ( cd $(DOCSDIR)/html && $(TAR) xf - ) post-install: @ ${TAR} ztf ${WRKSRC}/doc/postgres.tar.gz | ${GREP} -v /$$ | \ |