Date: Sun, 11 May 2014 13:53:59 +0200 (CEST) From: Tobias Rehbein <tobias.rehbein@web.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/189659: [maintainer-update] Add staging support to www/nanoblogger-extra Message-ID: <201405111153.s4BBrxde074800@oshi.local> Resent-Message-ID: <201405111200.s4BC00qA051031@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 189659 >Category: ports >Synopsis: [maintainer-update] Add staging support to www/nanoblogger-extra >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: Add staging support to www/nanoblogger-extra. While here fix some portlint warnings: * add LICENSE >How-To-Repeat: >Fix: --- www_nanoblogger-extra_stage.diff begins here --- diff -urN www/nanoblogger-extra.orig/Makefile www/nanoblogger-extra/Makefile --- www/nanoblogger-extra.orig/Makefile 2014-05-11 13:31:06.346342143 +0200 +++ www/nanoblogger-extra/Makefile 2014-05-11 13:33:23.247335360 +0200 @@ -9,6 +9,8 @@ MAINTAINER= tobias.rehbein@web.de COMMENT= Extras for nanoblogger, a small weblog engine +LICENSE= GPLv2 + RUN_DEPENDS= nb:${PORTSDIR}/www/nanoblogger WRKSRC= ${WRKDIR}/nanoblogger-${PORTVERSION} @@ -16,26 +18,21 @@ NO_BUILD= yes -NO_STAGE= yes do-install: .for data in default lang plugins - @( cd ${WRKSRC}/${data} && ${CHMOD} 777 ${WRKSRC}/${data}/* && \ - ${COPYTREE_SHARE} \* ${DATADIR}/${data} "! -empty" ) + @( cd ${WRKSRC}/${data} && \ + ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${data} "! -empty" ) .endfor post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in COPYING ChangeLog README - @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR} .endfor - @${MKDIR} ${DOCSDIR}/html - @${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}/html -.endif - -.if !defined(NOPORTEXAMPLES) - @${MKDIR} ${EXAMPLESDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/examples/nanoblogger.bash_completion ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${DOCSDIR}/html + @${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html + + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/docs/examples/nanoblogger.bash_completion ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> diff -urN www/nanoblogger-extra.orig/pkg-plist www/nanoblogger-extra/pkg-plist --- www/nanoblogger-extra.orig/pkg-plist 2014-05-11 12:56:23.823484678 +0200 +++ www/nanoblogger-extra/pkg-plist 2014-05-11 13:05:56.849445461 +0200 @@ -28,8 +28,8 @@ %%DATADIR%%/plugins/001_mymood.off %%DATADIR%%/plugins/archive/category/include_listings.sh %%DATADIR%%/plugins/archive/master_fullindex.off -%%DATADIR%%/plugins/entry/z0_excerpt.off %%DATADIR%%/plugins/entry/format/autotag-p.sh +%%DATADIR%%/plugins/entry/z0_excerpt.off %%DATADIR%%/plugins/file_links.sh %%DATADIR%%/plugins/fortune.sh %%DATADIR%%/plugins/page/format/autopbr.sh @@ -38,23 +38,11 @@ %%DATADIR%%/plugins/shortcode/yahoobuzz.sh %%DATADIR%%/plugins/shortcode/youtube.sh %%DATADIR%%/plugins/z001_articles_text.off -%%PORTDOCS%%@dirrm %%DOCSDIR%%/html -%%PORTDOCS%%@dirrm %%DOCSDIR%% -%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ -@dirrmtry %%DATADIR%%/default/styles -@dirrmtry %%DATADIR%%/default/templates -@dirrmtry %%DATADIR%%/default +%%PORTDOCS%%@dirrmtry %%DOCSDIR%%/html +%%PORTDOCS%%@dirrmtry %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%% @dirrmtry %%DATADIR%%/lang/de @dirrmtry %%DATADIR%%/lang/es @dirrmtry %%DATADIR%%/lang/fr @dirrmtry %%DATADIR%%/lang/tr -@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/page -@dirrmtry %%DATADIR%%/plugins/shortcode -@dirrmtry %%DATADIR%%/plugins @dirrmtry %%DATADIR%% --- www_nanoblogger-extra_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?201405111153.s4BBrxde074800>