Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 13:51:52 +0200 (CEST)
From:      Tobias Rehbein <tobias.rehbein@web.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/189660: [maintainer-update] fix staging support for www/nanoblogger
Message-ID:  <201405111151.s4BBpqIV074711@oshi.local>
Resent-Message-ID: <201405111200.s4BC00kn051043@freefall.freebsd.org>

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

>Number:         189660
>Category:       ports
>Synopsis:       [maintainer-update] fix staging support for www/nanoblogger
>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:   Sun May 11 12:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Rehbein
>Release:        FreeBSD 10.0-RELEASE-p2 amd64
>Organization:
>Environment:
System: FreeBSD oshi.local 10.0-RELEASE-p2 FreeBSD 10.0-RELEASE-p2 #0: Thu May 1 06:51:20 CEST 2014 tobi@oshi.local:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
	Staging support was added to this port a file ago, but `make DEVELOPER=yes check-plist` showed an orphan (etc/nb.conf). Fix this minor issue.

	While here fix some portlint warnings:
	* add LICENSE
>How-To-Repeat:
	
>Fix:

	

--- www_nanoblogger_stage.diff begins here ---
diff -urN www/nanoblogger.orig/Makefile www/nanoblogger/Makefile
--- www/nanoblogger.orig/Makefile	2014-05-11 12:50:49.650509302 +0200
+++ www/nanoblogger/Makefile	2014-05-11 12:54:48.924497872 +0200
@@ -10,6 +10,8 @@
 MAINTAINER=	tobias.rehbein@web.de
 COMMENT=	Small weblog engine written in Bash for the command line
 
+LICENSE=	GPLv2
+
 RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
 
 NO_BUILD=	yes
@@ -36,9 +38,6 @@
 	@${CP} ${WRKSRC}/welcome-to-nb.txt ${STAGEDIR}${DATADIR}
 
 post-install:
-	@if [ ! -f ${STAGEDIR}${PREFIX}/etc/nb.conf ]; then \
-		${CP} -p ${STAGEDIR}${PREFIX}/etc/nb.conf.sample ${STAGEDIR}${PREFIX}/etc/nb.conf; \
-	fi
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for doc in COPYING ChangeLog README TODO copyright
 	@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
--- www_nanoblogger_stage.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?201405111151.s4BBpqIV074711>