diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/nanoblogger/ChangeLog | 10 | ||||
-rw-r--r-- | www-apps/nanoblogger/Manifest | 14 | ||||
-rw-r--r-- | www-apps/nanoblogger/files/digest-nanoblogger-3.1 | 1 | ||||
-rw-r--r-- | www-apps/nanoblogger/metadata.xml | 9 | ||||
-rw-r--r-- | www-apps/nanoblogger/nanoblogger-3.1.ebuild | 49 |
5 files changed, 83 insertions, 0 deletions
diff --git a/www-apps/nanoblogger/ChangeLog b/www-apps/nanoblogger/ChangeLog new file mode 100644 index 000000000000..222f831b10df --- /dev/null +++ b/www-apps/nanoblogger/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for www-apps/nanoblogger +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoblogger/ChangeLog,v 1.1 2005/01/24 11:03:41 ka0ttic Exp $ + +*nanoblogger-3.1 (24 Jan 2005) + + 24 Jan 2005; Aaron Walker <ka0ttic@gentoo.org> +metadata.xml, + +nanoblogger-3.1.ebuild: + Initial commit; ebuild by me. + diff --git a/www-apps/nanoblogger/Manifest b/www-apps/nanoblogger/Manifest new file mode 100644 index 000000000000..0d97903e62af --- /dev/null +++ b/www-apps/nanoblogger/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 7c694f1dd8ff85375a433aa5f09b15dc ChangeLog 370 +MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 +MD5 2c9fe39ad5f8e948a5b9381f14773426 nanoblogger-3.1.ebuild 1415 +MD5 1ab32e1e0e5fef5232ec0b69d002f8eb files/digest-nanoblogger-3.1 66 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFB9NYWEZCkKN40op4RAnaNAJ9GWgAaQ+rdtXKcwzQNMhj5/Ju3hACdFzO+ +haa1JjYV/z8DBcis5pvqPio= +=r3kI +-----END PGP SIGNATURE----- diff --git a/www-apps/nanoblogger/files/digest-nanoblogger-3.1 b/www-apps/nanoblogger/files/digest-nanoblogger-3.1 new file mode 100644 index 000000000000..193625ddb031 --- /dev/null +++ b/www-apps/nanoblogger/files/digest-nanoblogger-3.1 @@ -0,0 +1 @@ +MD5 7b8eba52ded4849953c88f1747b97f9d nanoblogger-3.1.tar.gz 51293 diff --git a/www-apps/nanoblogger/metadata.xml b/www-apps/nanoblogger/metadata.xml new file mode 100644 index 000000000000..d31152aca840 --- /dev/null +++ b/www-apps/nanoblogger/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>ka0ttic@gentoo.org</email> + <name>Aaron Walker</name> + </maintainer> +</pkgmetadata> diff --git a/www-apps/nanoblogger/nanoblogger-3.1.ebuild b/www-apps/nanoblogger/nanoblogger-3.1.ebuild new file mode 100644 index 000000000000..5739fe351981 --- /dev/null +++ b/www-apps/nanoblogger/nanoblogger-3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/nanoblogger/nanoblogger-3.1.ebuild,v 1.1 2005/01/24 11:03:41 ka0ttic Exp $ + +DESCRIPTION="Small and simple weblog engine written in Bash for the command-line" +HOMEPAGE="http://nanoblogger.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +RDEPEND="app-shells/bash" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's|^\(BASE_DIR=\).*$|\1"/usr/share/nanoblogger"|' \ + -e 's|"$BASE_DIR"/\(nb\.conf\)|/etc/\1|' \ + nb || die "sed nb failed" +} + +src_install() { + dobin nb + insinto /usr/share/nanoblogger + doins -r default moods plugins + insinto /etc + doins nb.conf + dodoc ChangeLog + dohtml docs/nanoblogger.html +} + +pkg_postinst() { + echo + einfo "Documentation for getting started with nanoblogger may be found at" + einfo "/usr/share/doc/${PF}/html/nanoblogger.html." + einfo + einfo "To create and configure a new weblog, run the following as your user:" + einfo " nb -b /some/dir -a" + einfo "where /some/dir is a directory that DOES NOT exist." + einfo + einfo "To prevent having to specify your blog directory every time you use" + einfo "nanoblogger (with the -b switch), you can set a default value in your" + einfo "~/.nb.conf. For example:" + einfo ' BLOG_DIR="$HOME/public_html/blog"' + echo +} |