cc6162770e
their files via a custom do-install target.
31 lines
824 B
Makefile
31 lines
824 B
Makefile
# $NetBSD: Makefile,v 1.3 2008/03/03 15:21:07 jlam Exp $
|
|
#
|
|
|
|
PKGNAME= libpqxx-doc-${LIBPQXX_VERSION}
|
|
PKGREVISION= 1
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.include "../../databases/libpqxx/Makefile.common"
|
|
|
|
COMMENT= Documentation for libpqxx
|
|
|
|
NO_CONFIGURE= yes
|
|
NO_BUILD= yes
|
|
|
|
PQXXDOCSRC= ${WRKSRC}/doc/html
|
|
PQXXDOC= ${PREFIX}/share/doc/libpqxx
|
|
INSTALLATION_DIRS+= ${PQXXDOC}/Reference ${PQXXDOC}/Tutorial
|
|
INSTALLATION_DIRS+= share/examples/libpqxx
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${PQXXDOCSRC}/Reference/*.html \
|
|
${DESTDIR}${PQXXDOC}/Reference
|
|
${INSTALL_DATA} ${PQXXDOCSRC}/Reference/doxygen.* \
|
|
${DESTDIR}${PQXXDOC}/Reference
|
|
${INSTALL_DATA} ${PQXXDOCSRC}/Tutorial/*.html \
|
|
${DESTDIR}${PQXXDOC}/Tutorial
|
|
${INSTALL_DATA} ${WRKSRC}/test/*.cxx \
|
|
${DESTDIR}${PREFIX}/share/examples/libpqxx
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|