summaryrefslogtreecommitdiff
path: root/databases/libpqxx-doc/Makefile
blob: 6eb444714c37bdf5751d491d615ea557b4161d01 (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
# $NetBSD: Makefile,v 1.1.1.1 2004/01/07 13:38:28 is Exp $
#

PKGNAME=	libpqxx-doc-${LIBPQXX_VERSION}

.include "../../databases/libpqxx/Makefile.common"

COMMENT=	Documentation for libpqxx

NO_CONFIGURE=	yes
NO_BUILD=	yes

PQXXDOCSRC=	${WRKSRC}/doc/html
PQXXDOC=	${PREFIX}/share/doc/html/libpqxx

do-install:
	${INSTALL_DATA_DIR} ${PQXXDOC}
	${INSTALL_DATA_DIR} ${PQXXDOC}/Reference
	${INSTALL_DATA} ${PQXXDOCSRC}/Reference/*.html ${PQXXDOC}/Reference
	${INSTALL_DATA} ${PQXXDOCSRC}/Reference/doxygen.* ${PQXXDOC}/Reference
	${INSTALL_DATA_DIR} ${PQXXDOC}/Tutorial
	${INSTALL_DATA} ${PQXXDOCSRC}/Tutorial/*.html	${PQXXDOC}/Tutorial
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libpqxx
	${INSTALL_DATA} ${WRKSRC}/test/*.cxx ${PREFIX}/share/examples/libpqxx

.include "../../mk/bsd.pkg.mk"