blob: 3f49a50fedc02e0c2bb8ec872defec00b1851f7c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.10 2006/10/18 19:24:07 adam Exp $
PKGNAME= postgresql74-docs-${BASE_VERS}
SVR4_PKGNAME= pstgd
COMMENT= PostgreSQL database system documentation
.include "../../databases/postgresql74/Makefile.common"
NO_BUILD= yes
NO_CONFIGURE= yes
USE_TOOLS+= tar
#BUILD_DIRS= ${WRKSRC}/doc
DOCDIR= ${PREFIX}/share/doc/postgresql
# The manpage documentation is installed with the relevant packages.
#pre-build:
# cd ${WRKSRC}/doc && rm -f man.tar.gz
do-install:
${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
tar -zxm -C ${DOCDIR} -f ${WRKSRC}/doc/postgres.tar.gz
.include "../../mk/bsd.pkg.mk"
|