ports/189660: [maintainer-update] fix staging support for www/nanoblogger
Tobias Rehbein
tobias.rehbein at web.de
Sun May 11 12:00:01 UTC 2014
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list