mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- fix calendar generation
PR: ports/158579 Submitted by: Tobias Rehbein <tobias.rehbein@web.de> (maintainer)
This commit is contained in:
parent
eaf8031a2c
commit
a030977198
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=276874
@ -8,6 +8,7 @@
|
||||
|
||||
PORTNAME= nanoblogger
|
||||
PORTVERSION= 3.4.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://nanoblogger.sourceforge.net/downloads/
|
||||
|
||||
@ -25,6 +26,8 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/nb
|
||||
@${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/nb
|
||||
@${REINPLACE_CMD} -e "s,%%DOCSDIR%%,${DOCSDIR},g" ${WRKSRC}/nb
|
||||
@${RM} ${WRKSRC}/plugins/page/format/*.orig
|
||||
@${RM} ${WRKSRC}/plugins/entry/format/*.orig
|
||||
|
||||
do-install:
|
||||
@${INSTALL_SCRIPT} ${WRKSRC}/nb ${PREFIX}/bin
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- ./nb.orig 2010-02-15 22:01:53.000000000 +0100
|
||||
+++ ./nb 2010-03-01 22:12:55.000000000 +0100
|
||||
+++ ./nb 2011-07-01 21:31:22.000000000 +0200
|
||||
@@ -1,4 +1,4 @@
|
||||
-#! /bin/bash
|
||||
+#! %%LOCALBASE%%/bin/bash
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- ./nb.conf.orig 2010-02-15 02:14:23.000000000 +0100
|
||||
+++ ./nb.conf 2010-03-01 22:10:36.000000000 +0100
|
||||
+++ ./nb.conf 2011-07-01 21:31:22.000000000 +0200
|
||||
@@ -7,7 +7,7 @@
|
||||
NB_LANG="en"
|
||||
|
||||
|
10
www/nanoblogger/files/patch-plugins__calendar.sh
Normal file
10
www/nanoblogger/files/patch-plugins__calendar.sh
Normal file
@ -0,0 +1,10 @@
|
||||
--- ./plugins/calendar.sh 2011-07-01 21:31:36.000000000 +0200
|
||||
+++ ./plugins/calendar.sh 2011-07-01 21:32:12.000000000 +0200
|
||||
@@ -12,6 +12,7 @@
|
||||
cal_month="$2"
|
||||
cal_file="$3"
|
||||
: ${CAL_CMD:=cal}
|
||||
+: ${CAL_ARGS:=-h}
|
||||
mkdir -p `dirname "$cal_file"`
|
||||
# halt if cal command fails
|
||||
nb_eval "$CAL_CMD" || continue
|
@ -1,5 +1,5 @@
|
||||
--- ./plugins/entry/format/markdown.sh.orig 2010-02-14 21:42:17.000000000 +0100
|
||||
+++ ./plugins/entry/format/markdown.sh 2010-03-01 22:10:36.000000000 +0100
|
||||
--- ./plugins/entry/format/markdown.sh 2010-02-14 21:42:17.000000000 +0100
|
||||
+++ ./plugins/entry/format/markdown.sh 2011-07-01 21:31:22.000000000 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
: ${MARKDOWN_CMD:=markdown}
|
||||
: ${MARKDOWN_OPTS:= }
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- ./plugins/page/format/markdown.sh.orig 2009-08-10 02:01:37.000000000 +0200
|
||||
+++ ./plugins/page/format/markdown.sh 2010-03-01 22:10:36.000000000 +0100
|
||||
--- ./plugins/page/format/markdown.sh 2009-08-10 02:01:37.000000000 +0200
|
||||
+++ ./plugins/page/format/markdown.sh 2011-07-01 21:31:22.000000000 +0200
|
||||
@@ -5,7 +5,7 @@
|
||||
: ${MARKDOWN_CMD:=markdown}
|
||||
: ${MARKDOWN_OPTS:= }
|
||||
|
Loading…
Reference in New Issue
Block a user