diff options
author | randomdan <randomdan@localhost> | 2010-12-14 14:11:12 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-12-14 14:11:12 +0000 |
commit | c40e363069b6a5d813dd97b01d2474822231faa5 (patch) | |
tree | 929f4c28a93a36c55437a4a5a962bdde5ee30065 | |
parent | Don't allow internals of PostgreSQL to trigger it's restart (diff) | |
download | portage-c40e363069b6a5d813dd97b01d2474822231faa5.tar.bz2 portage-c40e363069b6a5d813dd97b01d2474822231faa5.tar.xz portage-c40e363069b6a5d813dd97b01d2474822231faa5.zip |
Optional include a build of the doxygen docs
-rw-r--r-- | www-apps/project2/Manifest | 2 | ||||
-rw-r--r-- | www-apps/project2/project2-9999.ebuild | 11 |
2 files changed, 9 insertions, 4 deletions
diff --git a/www-apps/project2/Manifest b/www-apps/project2/Manifest index d815e34..18a8f7c 100644 --- a/www-apps/project2/Manifest +++ b/www-apps/project2/Manifest @@ -1,3 +1,3 @@ EBUILD project2-0.1.ebuild 593 RMD160 14c820a79e8bc9f19428e4f8850d90caea043602 SHA1 f674e6b78969d92698a38079f817fbe04954b035 SHA256 30f3d2a6e74b7d6ae849950ca7599db4cec19bed5db5036ef5837d2056334aab EBUILD project2-0.2.ebuild 616 RMD160 2fb1c49e7cfa2879fdbb1290c40f7fb798bdbcd4 SHA1 ebbb82f0ab81dcdb9562552a7ed252865e4aeb76 SHA256 0e36e57bc4196fdf5d66a0c3c076e842b3aa4018ad934f272d3019b16fce0795 -EBUILD project2-9999.ebuild 844 RMD160 8ecb146ba44bd88ab3dbf1ff3c83552ada9898dc SHA1 d9e6d3d15098093d0a789f39d6480a8244a8f945 SHA256 e58187f0749ecc66346881491f23acc94d08a732e9095bd0c6cd83f8d7d985f4 +EBUILD project2-9999.ebuild 1075 RMD160 58757e2980b04deff9dbfc97f927ca21b2fee69b SHA1 0d04610063e24d675dd40da1cc60752dddfce095 SHA256 3590576f741b644d15d297e19cdf199e83b83f8fbd75d8f3ca690718e670acc2 diff --git a/www-apps/project2/project2-9999.ebuild b/www-apps/project2/project2-9999.ebuild index c80273a..e619713 100644 --- a/www-apps/project2/project2-9999.ebuild +++ b/www-apps/project2/project2-9999.ebuild @@ -6,7 +6,7 @@ HOMEPAGE="http://project2.randomdan.homeip.net" LICENSE="GPL" SLOT="0" KEYWORDS="~x86" -IUSE="debug" +IUSE="debug +docs" DEPEND="dev-db/unixODBC www-client/lynx @@ -18,6 +18,7 @@ DEPEND="dev-db/unixODBC virtual/httpd-fastcgi dev-libs/fcgi net-libs/libesmtp + docs? ( app-doc/doxygen ) www-apache/mod_transform" RDEPEND="${DEPEND}" ESVN_REPO_URI="svn+ssh://svn.random.lan/var/svn/src/trunk" @@ -26,11 +27,15 @@ use !debug && var="variant=release" src_compile() { cd ${S}/project2 || die - ${BJAM} ${var} -q cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die + ${BJAM} ${var} -q cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die "Compile failed" } src_install() { cd ${S}/project2 || die ${BJAM} ${var} install -q --bindir=${D}/usr/share/webapps/project2 --libdir=${D}/usr/lib \ - cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die + cflags="${CFLAGS}" linkflags="${LDFLAGS}" || die "Installed failed" + mkdir -p ${D}/usr/share/doc/${P} + if use docs ; then + (cat Doxyfile ; echo OUTPUT_DIRECTORY=${D}/usr/share/doc/${P}) | doxygen - || die "Build docs failed" + fi } |