Bug 189660 - [maintainer-update] fix staging support for www/nanoblogger
Summary: [maintainer-update] fix staging support for www/nanoblogger
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-11 13:00 UTC by Tobias Rehbein
Modified: 2014-05-14 14:30 UTC (History)
0 users

See Also:


Attachments
www_nanoblogger_stage.diff (786 bytes, patch)
2014-05-11 13:00 UTC, Tobias Rehbein
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Rehbein 2014-05-11 13:00:00 UTC
	
	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
Comment 1 dfilter service freebsd_committer freebsd_triage 2014-05-14 14:25:44 UTC
Author: amdmi3
Date: Wed May 14 13:25:41 2014
New Revision: 354054
URL: http://svnweb.freebsd.org/changeset/ports/354054
QAT: https://qat.redports.org/buildarchive/r354054/

Log:
  - Fix plist issue
  - Add LICENSE
  
  PR:		189660
  Submitted by:	Tobias Rehbein <tobias.rehbein@web.de> (maintainer)

Modified:
  head/www/nanoblogger/Makefile

Modified: head/www/nanoblogger/Makefile
==============================================================================
--- head/www/nanoblogger/Makefile	Wed May 14 13:20:58 2014	(r354053)
+++ head/www/nanoblogger/Makefile	Wed May 14 13:25:41 2014	(r354054)
@@ -10,6 +10,8 @@ MASTER_SITES=	http://nanoblogger.sourcef
 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 @@ do-install:
 	@${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}
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Dmitry Marakasov freebsd_committer freebsd_triage 2014-05-14 14:26:35 UTC
State Changed
From-To: open->closed

Committed. Thanks!