summaryrefslogtreecommitdiff
path: root/www-apps/nanoblogger
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/nanoblogger')
-rw-r--r--www-apps/nanoblogger/Manifest4
-rw-r--r--www-apps/nanoblogger/files/nb.bashcomp47
-rw-r--r--www-apps/nanoblogger/metadata.xml24
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild70
4 files changed, 0 insertions, 145 deletions
diff --git a/www-apps/nanoblogger/Manifest b/www-apps/nanoblogger/Manifest
deleted file mode 100644
index 7a14c0588627..000000000000
--- a/www-apps/nanoblogger/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX nb.bashcomp 1275 BLAKE2B 0e6fefe950988c1f290f442781eb284f4c762365387cc58e67502558291e0ef77557adb7af57346ee5a1a0438c0307fa2c6956fb63a621f7bdb4b1c7684800c7 SHA512 004db772c4f97870ebdbe378adc26f70ce42f8f28b68bed53fcbe2df4d95ce38e4a2608fee94ae17b1f057c28859a321cceb6cdd4f849845b5902ad048541c8e
-DIST nanoblogger-3.5-rc1.tar.gz 131833 BLAKE2B d5918e406d0b5c6d82b466b43ed84b413fc539651baa568eacbd70b47eae4b382a4f621c8195631b47ef2039d6a4e0b569596a6d601881b195b1db5f7098d90c SHA512 03a590b1bdf3adb9969e2ce6fda89ece99f33def9f46e1028d2c0724a86f47696c703a5a3bb3c4b1c34418b841702a15bae527cc94eba377ee2003203582de2f
-EBUILD nanoblogger-3.5_rc1-r1.ebuild 2210 BLAKE2B a34979b8b15ba85faca4bffcaa46efa7a218efa7ff94c66215366cc08e74265668c82c6a1d0ff39d70e8221006be0055ee2a026ed80a4b7496d272716b0d5674 SHA512 1c5dbe0ec4927752f68c263bb2682d249ff0d43d6f527216aa25ccdc1fe400da0a2cb796f1a83fd24e60021dc7375d9a0989b6946db814b235c697e4729f6406
-MISC metadata.xml 1183 BLAKE2B 336376824e7f0e267b1a566994481e8e460726266530cc6f692ff7a07e77b00ff88616249688eb657dd0164665f4c0b18626589f8f499654991da7b2fc270760 SHA512 3d03ff7c6629235697dbeacf6e1b19d8cc1b5a9c65199a7ab63dc8c580d163d36eeec8223b2eecc6f6fae500e11813f624497bdab0615585d00f085c3a3ee196
diff --git a/www-apps/nanoblogger/files/nb.bashcomp b/www-apps/nanoblogger/files/nb.bashcomp
deleted file mode 100644
index 4e3c5606b1c0..000000000000
--- a/www-apps/nanoblogger/files/nb.bashcomp
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# nanoblogger completion
-# author: Aaron Walker <ka0ttic@gentoo.org>
-
-_nb()
-{
- local cur prev opts
- COMPREPLY=()
- cur="${COMP_WORDS[COMP_CWORD]}"
- prev="${COMP_WORDS[COMP_CWORD-1]}"
- opts="-a --add -b --blogdir -B --body -c --category --configure \
- --datadir -d --delete -D --desc -e --edit -f --blogconf -h --help \
- -l --list --makepage --manual -m --move -n --author -p --preview \
- -P --publish --template --templatedir -t --title -u --update \
- -v --verbose -V --version"
-
- if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then
- COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
- return 0
- fi
-
- case "${prev}" in
- -b|--*dir)
- COMPREPLY=($(compgen -d -S '/' -- ${cur}))
- ;;
- -f|--blogconf|--template)
- COMPREPLY=($(compgen -f -- ${cur}))
- ;;
- -l|--list)
- COMPREPLY=($(compgen -W "all cat current max" -- ${cur}))
- ;;
- -u|--update)
- COMPREPLY=($(compgen -W "all current main max" -- ${cur}))
- ;;
- ?(-)-@(B|body|c|category|d|delete|D|desc|m|move|n|author|t|title))
- COMPREPLY=()
- ;;
- *)
- COMPREPLY=($(compgen -W "${opts/${prev}}" -- ${cur}))
- ;;
- esac
-}
-complete -F _nb nb
-
-# vim: set ft=sh :
diff --git a/www-apps/nanoblogger/metadata.xml b/www-apps/nanoblogger/metadata.xml
deleted file mode 100644
index 36745a069c44..000000000000
--- a/www-apps/nanoblogger/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>web-apps@gentoo.org</email>
- <name>Gentoo Webapps</name>
- </maintainer>
- <stabilize-allarches/>
- <longdescription lang="en">
-Nanoblogger is a small weblog engine written in Bash for the command line. It
-uses common UNIX tools such as cat, grep, and sed. Features include: support
-for multiple weblogs, support for multiple categories, archiving by category,
-entry, and month, pagination, permanent links, RSS syndication (1.0 and 2.0),
-Atom syndication (0.3), templates and CSS style sheets for full control over
-appearance, placeholders for easy template manipulation, plugins for calendar,
-recent entries, weblog status, fortunes, etc, auto-formatting of HTML, support
-for relative and absolute links, per-weblog configuration, simple cache system
-for faster content generation, auto-detection of weblog by current directory, no
-database dependencies (uses flat-file), and mutliplatform portability.
- </longdescription>
- <upstream>
- <remote-id type="sourceforge">nanoblogger</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild b/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild
deleted file mode 100644
index 4116a3b95219..000000000000
--- a/www-apps/nanoblogger/nanoblogger-3.5_rc1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit bash-completion-r1
-
-MY_P="${P/_/-}"
-DESCRIPTION="Small and simple weblog engine written in Bash for the command-line"
-HOMEPAGE="http://nanoblogger.sourceforge.net/"
-SRC_URI="https://downloads.sourceforge.net/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa ppc x86"
-
-RDEPEND="app-shells/bash"
-
-S="${WORKDIR}/${MY_P}"
-
-HTML_DOCS=( docs/nanoblogger.html )
-
-src_prepare() {
- default
- sed -i \
- -e 's|^\(NB_BASE_DIR=\).*$|\1"/usr/share/nanoblogger"|' \
- -e 's|^\(NB_CFG_DIR=\).*$|\1"/etc"|' \
- -e "s|\$NB_BASE_DIR.*\(nano.*html\)|/usr/share/doc/${PF}/html/\1|" \
- nb || die "sed nb failed"
-}
-
-src_install() {
- dobin nb
- insinto /usr/share/nanoblogger
- doins -r default moods plugins lib lang docs welcome-to-nb.txt
- insinto /etc
- doins nb.conf
- einstalldocs
- dobashcomp "${FILESDIR}"/nb.bashcomp
-}
-
-pkg_postinst() {
- elog
- elog "Documentation for getting started with nanoblogger may be found at"
- elog "/usr/share/doc/${PF}/html/nanoblogger.html or by running 'nb --manual;."
- elog
- elog "To create and configure a new weblog, run the following as your user:"
- elog " nb -b /some/dir -a"
- elog "where /some/dir is a directory that DOES NOT exist."
- elog
- elog "To prevent having to specify your blog directory every time you use"
- elog "nanoblogger (with the -b switch), you can set a default value in your"
- elog "~/.nb.conf. For example:"
- elog ' BLOG_DIR="$HOME/public_html/blog"'
- elog
- elog "If you are upgrading nanoblogger from a previous version, follow"
- elog "these directions (as stated in the manual):"
- elog " 1. create a new weblog directory using nanoblogger (skip configuration):"
- elog " nb [-b blog_dir] -a"
- elog " 2. copy old data directry to new weblog:"
- elog " cp -r [old_blog_dir]/data [newblog_dir]"
- elog " 3. edit new blog.conf to your liking and rebuild weblog:"
- elog " nb [-b blog_dir] --configure -u all"
- elog
- elog "You also should remove your [newblog_dir]/data/cat_1.db and run:"
- elog " nb -u all"
- elog "after copying your old entries from [oldblog_dir]/data to"
- elog "[newblog_dir]/data."
- elog
-}