pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/libpqxx



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Thu May  3 13:29:57 UTC 2018

Added Files:
        pkgsrc/databases/libpqxx: options.mk

Log Message:
Missed libpqxx/options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/libpqxx/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/databases/libpqxx/options.mk
diff -u /dev/null pkgsrc/databases/libpqxx/options.mk:1.1
--- /dev/null   Thu May  3 13:29:57 2018
+++ pkgsrc/databases/libpqxx/options.mk Thu May  3 13:29:57 2018
@@ -0,0 +1,33 @@
+# $NetBSD: options.mk,v 1.1 2018/05/03 13:29:57 prlw1 Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libpqxx
+PKG_SUPPORTED_OPTIONS= doc
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+PLIST_VARS+=           doc
+.if !empty(PKG_OPTIONS:Mdoc)
+CONFIGURE_ARGS+=       --enable-documentation
+PLIST.doc=             yes
+TOOL_DEPENDS+=         doxygen-[0-9]*:../../devel/doxygen
+TOOL_DEPENDS+=         graphviz-[0-9]*:../../graphics/graphviz
+TOOL_DEPENDS+=         xmlto-[0-9]*:../../textproc/xmlto
+
+PQXXDOCSRC=            ${WRKSRC}/doc/html
+PQXXDOC=               ${PREFIX}/share/doc/${PKGBASE}
+INSTALLATION_DIRS+=    ${PQXXDOC}/Reference ${PQXXDOC}/Tutorial
+INSTALLATION_DIRS+=    share/examples/libpqxx
+
+post-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
+.else
+CONFIGURE_ARGS+=       --disable-documentation
+.endif



Home | Main Index | Thread Index | Old Index