ports/141689: [maintainer-update] www/nanoblogger-extra uses the wrong DATADIR
Tobias Rehbein
tobias.rehbein at web.de
Wed Dec 16 19:30:02 UTC 2009
>Number: 141689
>Category: ports
>Synopsis: [maintainer-update] www/nanoblogger-extra uses the wrong DATADIR
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 16 19:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Tobias Rehbein
>Release: FreeBSD 8.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD sushi.pseudo.local 8.0-RELEASE-p1 FreeBSD 8.0-RELEASE-p1 #2: Sat Dec 5 20:12:19 CET 2009 tobi at sushi.pseudo.local:/usr/obj/usr/src/sys/SUSHI i386
>Description:
This port was initially submitted in ports/136323. The patch attached
to this PR shared the DATADIR of www/nanoblogger-extra with the DATADIR
of www/nanoblogger. It seems as the commiter removed the explicit
DATADIR of www/nanoblogger-extra in the Makefile. I just noticed this
today as I set up a new machine using nanoblogger and the fortune
plug-in was not working.
The attached patch fixes this.
>How-To-Repeat:
>Fix:
--- nanoblogger-extra-3.4_1.diff begins here ---
diff -ruN www/nanoblogger-extra.orig/Makefile www/nanoblogger-extra/Makefile
--- www/nanoblogger-extra.orig/Makefile 2009-12-14 11:34:47.000000000 +0100
+++ www/nanoblogger-extra/Makefile 2009-12-14 12:10:07.000000000 +0100
@@ -8,12 +8,15 @@
PORTNAME= nanoblogger-extra
PORTVERSION= 3.4
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= SF/nanoblogger/${PORTNAME}/Version%20${PORTVERSION}
MAINTAINER= tobias.rehbein at web.de
COMMENT= Extras for nanoblogger, a small weblog engine
+DATADIR= ${PREFIX}/share/nanoblogger
+
RUN_DEPENDS= nb:${PORTSDIR}/www/nanoblogger
NO_BUILD= yes
diff -ruN www/nanoblogger-extra.orig/pkg-plist www/nanoblogger-extra/pkg-plist
--- www/nanoblogger-extra.orig/pkg-plist 2009-12-14 11:34:47.000000000 +0100
+++ www/nanoblogger-extra/pkg-plist 2009-12-14 12:07:59.000000000 +0100
@@ -24,40 +24,40 @@
%%DATADIR%%/lang/tr/messages.lang
%%DATADIR%%/lang/tr/plugins.lang
%%DATADIR%%/lang/tr/templates.lang
-%%DATADIR%%/lang/zh_TW/help.txt
+%%DATADIR%%/lang/zh_TW/help.txt
%%DATADIR%%/lang/zh_TW/messages.lang
%%DATADIR%%/lang/zh_TW/plugins.lang
%%DATADIR%%/lang/zh_TW/templates.lang
+%%DATADIR%%/plugins/001_mymood.off
%%DATADIR%%/plugins/archive/category/include_listings.sh
%%DATADIR%%/plugins/archive/master_fullindex.off
%%DATADIR%%/plugins/entry/format/autopbr.sh
%%DATADIR%%/plugins/entry/z0_excerpt.off
+%%DATADIR%%/plugins/file_links.sh
+%%DATADIR%%/plugins/fortune.sh
%%DATADIR%%/plugins/page/format/autopbr.sh
%%DATADIR%%/plugins/page/page_links.off
+%%DATADIR%%/plugins/rss.sh
%%DATADIR%%/plugins/shortcode/yahoobuzz.sh
%%DATADIR%%/plugins/shortcode/youtube.sh
-%%DATADIR%%/plugins/001_mymood.off
-%%DATADIR%%/plugins/file_links.sh
-%%DATADIR%%/plugins/fortune.sh
-%%DATADIR%%/plugins/rss.sh
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/
- at dirrm %%DATADIR%%/default/styles
- at dirrm %%DATADIR%%/default/templates
- at dirrm %%DATADIR%%/default
- at dirrm %%DATADIR%%/lang/de
- at dirrm %%DATADIR%%/lang/es
- at dirrm %%DATADIR%%/lang/fr
- at dirrm %%DATADIR%%/lang/tr
- at dirrm %%DATADIR%%/lang/zh_TW
- at dirrm %%DATADIR%%/lang
- at dirrm %%DATADIR%%/plugins/archive/category
- at dirrm %%DATADIR%%/plugins/archive
- at dirrm %%DATADIR%%/plugins/entry/format
- at dirrm %%DATADIR%%/plugins/entry
- at dirrm %%DATADIR%%/plugins/page/format
- at dirrm %%DATADIR%%/plugins/shortcode
- at dirrm %%DATADIR%%/plugins/page
- at dirrm %%DATADIR%%/plugins
- at dirrm %%DATADIR%%
+ at dirrmtry %%DATADIR%%/default/styles
+ at dirrmtry %%DATADIR%%/default/templates
+ at dirrmtry %%DATADIR%%/default
+ at dirrmtry %%DATADIR%%/lang/de
+ at dirrmtry %%DATADIR%%/lang/es
+ at dirrmtry %%DATADIR%%/lang/fr
+ at dirrmtry %%DATADIR%%/lang/tr
+ at dirrmtry %%DATADIR%%/lang/zh_TW
+ at dirrmtry %%DATADIR%%/lang
+ at dirrmtry %%DATADIR%%/plugins/archive/category
+ at dirrmtry %%DATADIR%%/plugins/archive
+ at dirrmtry %%DATADIR%%/plugins/entry/format
+ at dirrmtry %%DATADIR%%/plugins/entry
+ at dirrmtry %%DATADIR%%/plugins/page/format
+ at dirrmtry %%DATADIR%%/plugins/shortcode
+ at dirrmtry %%DATADIR%%/plugins/page
+ at dirrmtry %%DATADIR%%/plugins
+ at dirrmtry %%DATADIR%%
--- nanoblogger-extra-3.4_1.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list