diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-11-12 23:30:57 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-11-12 23:30:57 +0800 |
commit | 0f8e5a106703cc1137b94a606444692b06c5e27b (patch) | |
tree | 43222945c1986a5bf788bf380a359930625e6347 /www/nanoblogger | |
parent | cfeda45c3e09385b566b234de84142a5f07e092c (diff) | |
download | freebsd-ports-gnome-0f8e5a106703cc1137b94a606444692b06c5e27b.tar.gz freebsd-ports-gnome-0f8e5a106703cc1137b94a606444692b06c5e27b.tar.zst freebsd-ports-gnome-0f8e5a106703cc1137b94a606444692b06c5e27b.zip |
upgrade to 3.0
Diffstat (limited to 'www/nanoblogger')
-rw-r--r-- | www/nanoblogger/Makefile | 5 | ||||
-rw-r--r-- | www/nanoblogger/distinfo | 4 | ||||
-rw-r--r-- | www/nanoblogger/files/patch-nb | 28 |
3 files changed, 19 insertions, 18 deletions
diff --git a/www/nanoblogger/Makefile b/www/nanoblogger/Makefile index 0726f299b0a5..5022da1360e5 100644 --- a/www/nanoblogger/Makefile +++ b/www/nanoblogger/Makefile @@ -7,9 +7,10 @@ # PORTNAME= nanoblogger -PORTVERSION= 2.9 +PORTVERSION= 3.0 CATEGORIES= www -MASTER_SITES= http://home.columbus.rr.com/n1xt3r/downloads/nanoblogger/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org COMMENT= Small weblog engine for the UNIX command line diff --git a/www/nanoblogger/distinfo b/www/nanoblogger/distinfo index d10bf0c34ed2..f7313bd83fd6 100644 --- a/www/nanoblogger/distinfo +++ b/www/nanoblogger/distinfo @@ -1,2 +1,2 @@ -MD5 (nanoblogger-2.9.tar.gz) = 40b8baa183b92095667a9e45cea79a88 -SIZE (nanoblogger-2.9.tar.gz) = 46567 +MD5 (nanoblogger-3.0.tar.gz) = 6a6e38c5fdd84694a56586e970f4ef05 +SIZE (nanoblogger-3.0.tar.gz) = 51150 diff --git a/www/nanoblogger/files/patch-nb b/www/nanoblogger/files/patch-nb index ebec2a8a599b..aa06aeb9f6ed 100644 --- a/www/nanoblogger/files/patch-nb +++ b/www/nanoblogger/files/patch-nb @@ -1,13 +1,13 @@ ---- nb.orig Thu Jul 15 16:06:32 2004 -+++ nb Thu Jul 15 16:08:43 2004 +--- nb.orig Fri Nov 12 23:28:37 2004 ++++ nb Fri Nov 12 23:29:46 2004 @@ -1,4 +1,4 @@ -#! /bin/bash +#! /usr/bin/env bash ############################################################ - # NanoBlogger 2.8 Copyright 2004 n1xt3r (Kevin R. Wood) # + # NanoBlogger 3.0 Copyright 2004 n1xt3r (Kevin R. Wood) # ############################################################ -@@ -7,7 +7,7 @@ - VERSION="2.8" +@@ -10,7 +10,7 @@ + VERSION="3.0" # nanoblogger's install directory. -BASE_DIR=`dirname $0` @@ -15,12 +15,12 @@ # create a semi ISO 8601 formatted timestamp for archives # used explicitly, please don't edit unless you know what you're doing. -@@ -75,7 +75,7 @@ - # loads global and user configurations - load_config(){ - # always load global configs --. "$BASE_DIR"/nb.conf -+. %%PREFIX%%/etc/nb.conf - # check for user's .nb.conf in their home directory. - [ -f "$HOME/.nb.conf" ] && . "$HOME/.nb.conf" - # USR_BLOGDIR overrides BLOG_DIR +@@ -985,7 +985,7 @@ + [ $# -gt 1 ] && argument=$2 + bad_argument=$1 + # always load global configs +- . "$BASE_DIR"/nb.conf ++ . %%PREFIX%%/etc/nb.conf + # check for user's .nb.conf in their home directory + [ -f "$HOME/.nb.conf" ] && . "$HOME/.nb.conf" + case "$1" in |