Add dev-tex/drexel-thesis.
authorW. Trevor King <wking@drexel.edu>
Tue, 16 Nov 2010 21:10:36 +0000 (16:10 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 16 Nov 2010 21:10:36 +0000 (16:10 -0500)
dev-tex/drexel-thesis/ChangeLog [new file with mode: 0644]
dev-tex/drexel-thesis/Manifest [new file with mode: 0644]
dev-tex/drexel-thesis/drexel-thesis-9999.ebuild [new file with mode: 0644]
dev-tex/drexel-thesis/metadata.xml [new file with mode: 0644]

diff --git a/dev-tex/drexel-thesis/ChangeLog b/dev-tex/drexel-thesis/ChangeLog
new file mode 100644 (file)
index 0000000..4a278e1
--- /dev/null
@@ -0,0 +1,14 @@
+# ChangeLog for dev-tex/drexel-thesis
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+*drexel-thesis-9999 (16 Nov 2010)
+  16 Nov 2010; W. Trevor King <wking@drexel.edu> ChangeLog, metadata.xml, drexel-thesis-9999.ebuild :
+  - Created ebuild suite for drexel-thesis.
+  - Added initial ChangeLog which should be updated whenever the
+  package is updated in any way. This changelog is targetted to
+  users. This means that the comments should well explained and
+  written in clean English. The details about writing correct
+  changelogs are explained in the skel.ChangeLog file which you can
+  find in the root directory of the portage repository.
diff --git a/dev-tex/drexel-thesis/Manifest b/dev-tex/drexel-thesis/Manifest
new file mode 100644 (file)
index 0000000..603cdd9
--- /dev/null
@@ -0,0 +1,3 @@
+EBUILD drexel-thesis-9999.ebuild 1725 RMD160 4948f78fa8b46102cba458b976507a450f553ea0 SHA1 d1daad64439ebefb9b81cef8bfb82488ca6d466f SHA256 5c1d1d4c9be1300f4db75a42018d75e78f2753f8b03ce7979f6b0ac0335200e7
+MISC ChangeLog 718 RMD160 2b21065e890eeecaff7bcb49a7ac5f812d27d196 SHA1 bde780bd3c9b7141fba647909402237dde85c4a7 SHA256 0947fd28c2d7508347518a18278e5fcf4eab8589b049ed56354281b7d15c0d48
+MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72
diff --git a/dev-tex/drexel-thesis/drexel-thesis-9999.ebuild b/dev-tex/drexel-thesis/drexel-thesis-9999.ebuild
new file mode 100644 (file)
index 0000000..152b4b7
--- /dev/null
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit latex-package
+
+if [[ ${PV} == "9999" ]] ; then
+       inherit git
+       EGIT_BRANCH="master"
+       EGIT_REPO_URI="http://www.physics.drexel.edu/~wking/code/git/drexel-thesis.git"
+       SRC_URI=""
+else
+       SRC_URI="http://www.physics.drexel.edu/~wking/code/got/gitweb.cgi?p=${PN}.git;a=snapshot;h=v${PV};sf=tgz"
+fi
+
+DESCRIPTION="Unofficial Drexel University thesis class."
+HOMEPAGE="http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/drexel-thesis/"
+
+LICENSE="LPPL-1.3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+RDEPEND="dev-texlive/texlive-latexrecommended
+       dev-texlive/texlive-latexextra
+       dev-tex/draftmark
+       dev-tex/xcolor"
+DEPEND="${RDEPEND}"
+# For toolchain:
+#   app-text/texlive-core
+#     bibtex
+#   dev-texlive/texlive-latex
+#     pdflatex
+# For drexel-thesis.cls:
+#   dev-texlive/texlive-latex
+#     fancyhdr
+#     geometry
+#     hyperref
+#     indentfirst
+#     oberdiek (contains hypcap, ifpdf)
+#   dev-texlive/texlive-latexrecommended
+#     caption
+#     eso-pic
+#     setspace
+#     subfig
+#     xkeyval
+#   dev-texlive/texlive-latexextra
+#     calc
+#     floatrow (also contains fr-subfig)
+#     graphicx
+#     tocloft
+#   dev-tex/pgf
+#     tikz
+# For the documentation:
+#   dev-texlive/texlive-latexextra
+#     blindtext
+
+src_unpack() {
+       if [[ ${PV} == "9999" ]] ; then
+               git_src_unpack
+       else
+               unpack ${A}
+       fi
+       cd "${S}"
+}
+
+src_compile() {
+       latex-package_src_compile
+       emake || die "make failed"
+}
+
+src_install() {
+       latex-package_src_install
+       dodoc drexel-logo.pdf || die "dodoc failed"
+       if use doc ; then
+               dodoc drexel-thesis.pdf example.pdf example-draft.pdf || die "dodoc failed"
+       fi
+}
diff --git a/dev-tex/drexel-thesis/metadata.xml b/dev-tex/drexel-thesis/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd></herd>
+       <maintainer>
+               <email>wking@drexel.edu</email>
+               <name>W. Trevor King</name>
+       </maintainer>
+</pkgmetadata>