summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStelian Ionescu <sionescu@common-lisp.net>2009-02-05 01:59:02 +0100
committerStelian Ionescu <sionescu@common-lisp.net>2009-02-05 01:59:02 +0100
commitdb2eaf1ab9fd9611428f6b80a9ef768925d6100e (patch)
tree6c2f39155deb2dfe611378f3d0ed5b9cef6def6f /dev-lisp/local-time
parentscm: IUSE += posix (diff)
downloadlisp-db2eaf1ab9fd9611428f6b80a9ef768925d6100e.tar.gz
lisp-db2eaf1ab9fd9611428f6b80a9ef768925d6100e.tar.bz2
lisp-db2eaf1ab9fd9611428f6b80a9ef768925d6100e.zip
Fix doc generation and texinfo deps in CL packages.
Diffstat (limited to 'dev-lisp/local-time')
-rw-r--r--dev-lisp/local-time/Manifest2
-rw-r--r--dev-lisp/local-time/local-time-0.9.3.ebuild15
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-lisp/local-time/Manifest b/dev-lisp/local-time/Manifest
index 5b7430d2..b16ae937 100644
--- a/dev-lisp/local-time/Manifest
+++ b/dev-lisp/local-time/Manifest
@@ -1,2 +1,2 @@
DIST local-time-0.9.3.tar.gz 201215 RMD160 1cabf4171adcd5e52532709843e034e581bd850b SHA1 80bc33a823c51542d099f279c530241dbc24a1c8 SHA256 a359d502bc690e68d790cb30834f58d682a8ee9a16cef12938e098297c40d91c
-EBUILD local-time-0.9.3.ebuild 709 RMD160 dae6ef39e6a7a94db1f4cd47bf4c18a1f78f345a SHA1 a4ec52710b278da68a226d920a9e628b44205752 SHA256 56d0de7ad59db96667ccbaac8788b3d27c7de9b076bc80c1a59b58ca7191a937
+EBUILD local-time-0.9.3.ebuild 921 RMD160 588a7bc3ff78006fdf42a9ab06ac485a665c9e5f SHA1 066466511c33a8f95efde11b571466df221b0a65 SHA256 4788ba7d15b70c21dce39973369fe10d6e6d1e59ad6cc88aed8d1ff163984891
diff --git a/dev-lisp/local-time/local-time-0.9.3.ebuild b/dev-lisp/local-time/local-time-0.9.3.ebuild
index abc5af83..dcd1c257 100644
--- a/dev-lisp/local-time/local-time-0.9.3.ebuild
+++ b/dev-lisp/local-time/local-time-0.9.3.ebuild
@@ -11,19 +11,26 @@ SRC_URI="http://common-lisp.net/project/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
-IUSE=""
+IUSE="doc"
-DEPEND="doc? ( sys-apps/texinfo )"
+DEPEND="sys-apps/texinfo
+ doc? ( virtual/texi2dvi )"
RDEPEND="dev-lisp/cl-fad
dev-lisp/fiveam"
src_compile() {
- use doc && texi2pdf documentation/${PN}.texinfo
+ cd documentation
+ makeinfo ${PN}.texinfo -o ${PN}.info || die "Cannot compile info docs"
+ if use doc ; then
+ VARTEXFONTS="${T}"/fonts \
+ texi2pdf ${PN}.texinfo -o ${PN}.pdf || die "Cannot build PDF docs"
+ fi
}
src_install() {
common-lisp-install *.{lisp,asd} zoneinfo
common-lisp-symlink-asdf
dodoc CREDITS README TODO
- use doc && dodoc ${PN}.pdf
+ doinfo doc/${PN}.info
+ use doc && dodoc doc/${PN}.pdf
}