2005-05-16 03:32:22 +02:00
|
|
|
# $NetBSD: Makefile,v 1.6 2005/05/16 01:32:22 jlam Exp $
|
2004-04-19 02:05:25 +02:00
|
|
|
|
2004-07-25 00:44:12 +02:00
|
|
|
PKGNAME= postgresql74-docs-${BASE_VERS}
|
2004-04-19 02:05:25 +02:00
|
|
|
SVR4_PKGNAME= pstgd
|
|
|
|
COMMENT= PostgreSQL database system documentation
|
|
|
|
|
|
|
|
.include "../../databases/postgresql74/Makefile.common"
|
|
|
|
|
2005-05-16 03:32:22 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
PKGSRC_USE_TOOLS+= tar
|
2004-04-20 00:39:55 +02:00
|
|
|
|
|
|
|
#BUILD_DIRS= ${WRKSRC}/doc
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/postgresql
|
2004-04-19 02:05:25 +02:00
|
|
|
|
|
|
|
# The manpage documentation is installed with the relevant packages.
|
2004-04-20 00:39:55 +02:00
|
|
|
#pre-build:
|
|
|
|
# cd ${WRKSRC}/doc && ${RM} -f man.tar.gz
|
2004-04-19 02:05:25 +02:00
|
|
|
|
2004-04-20 00:39:55 +02:00
|
|
|
do-install:
|
2004-04-19 02:05:25 +02:00
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}/TODO.detail
|
|
|
|
cd ${WRKSRC}/doc; for file in \
|
|
|
|
FAQ* KNOWN_BUGS MISSING_FEATURES README.* TODO \
|
|
|
|
bug.template; \
|
|
|
|
do \
|
|
|
|
${INSTALL_DATA} $${file} ${DOCDIR}/$${file}; \
|
|
|
|
done
|
|
|
|
cd ${WRKSRC}/doc/TODO.detail && \
|
|
|
|
${PAX} -rwppm . ${DOCDIR}/TODO.detail
|
2004-06-27 18:38:32 +02:00
|
|
|
${TAR} -zxm -C ${DOCDIR} -f ${WRKSRC}/doc/postgres.tar.gz
|
2004-04-19 02:05:25 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|