Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Dec 2009 20:22:21 +0100 (CET)
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/141689: [maintainer-update] www/nanoblogger-extra uses the wrong DATADIR
Message-ID:  <200912161922.nBGJML9I008489@sushi.pseudo.local>
Resent-Message-ID: <200912161930.nBGJU2jp048644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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%%/
-@dirrm %%DATADIR%%/default/styles
-@dirrm %%DATADIR%%/default/templates
-@dirrm %%DATADIR%%/default
-@dirrm %%DATADIR%%/lang/de
-@dirrm %%DATADIR%%/lang/es
-@dirrm %%DATADIR%%/lang/fr
-@dirrm %%DATADIR%%/lang/tr
-@dirrm %%DATADIR%%/lang/zh_TW
-@dirrm %%DATADIR%%/lang
-@dirrm %%DATADIR%%/plugins/archive/category
-@dirrm %%DATADIR%%/plugins/archive
-@dirrm %%DATADIR%%/plugins/entry/format
-@dirrm %%DATADIR%%/plugins/entry
-@dirrm %%DATADIR%%/plugins/page/format
-@dirrm %%DATADIR%%/plugins/shortcode
-@dirrm %%DATADIR%%/plugins/page
-@dirrm %%DATADIR%%/plugins
-@dirrm %%DATADIR%%
+@dirrmtry %%DATADIR%%/default/styles
+@dirrmtry %%DATADIR%%/default/templates
+@dirrmtry %%DATADIR%%/default
+@dirrmtry %%DATADIR%%/lang/de
+@dirrmtry %%DATADIR%%/lang/es
+@dirrmtry %%DATADIR%%/lang/fr
+@dirrmtry %%DATADIR%%/lang/tr
+@dirrmtry %%DATADIR%%/lang/zh_TW
+@dirrmtry %%DATADIR%%/lang
+@dirrmtry %%DATADIR%%/plugins/archive/category
+@dirrmtry %%DATADIR%%/plugins/archive
+@dirrmtry %%DATADIR%%/plugins/entry/format
+@dirrmtry %%DATADIR%%/plugins/entry
+@dirrmtry %%DATADIR%%/plugins/page/format
+@dirrmtry %%DATADIR%%/plugins/shortcode
+@dirrmtry %%DATADIR%%/plugins/page
+@dirrmtry %%DATADIR%%/plugins
+@dirrmtry %%DATADIR%%
--- nanoblogger-extra-3.4_1.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912161922.nBGJML9I008489>