aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/nanoblogger/Makefile17
-rw-r--r--www/nanoblogger/pkg-plist2
2 files changed, 9 insertions, 10 deletions
diff --git a/www/nanoblogger/Makefile b/www/nanoblogger/Makefile
index 63f6bec59e04..716e4d09cb14 100644
--- a/www/nanoblogger/Makefile
+++ b/www/nanoblogger/Makefile
@@ -10,7 +10,8 @@ MASTER_SITES= http://nanoblogger.sourceforge.net/downloads/
MAINTAINER= tobias.rehbein@web.de
COMMENT= Small weblog engine written in Bash for the command line
-LICENSE= GPLv2
+LICENSE= GPLv2+
+LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= bash:shells/bash
@@ -29,22 +30,22 @@ post-patch:
@${RM} ${WRKSRC}/plugins/entry/format/*.orig
do-install:
- @${INSTALL_SCRIPT} ${WRKSRC}/nb ${STAGEDIR}${PREFIX}/bin
- @${INSTALL_DATA} ${WRKSRC}/nb.conf ${STAGEDIR}${PREFIX}/etc/nb.conf.sample
+ ${INSTALL_SCRIPT} ${WRKSRC}/nb ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/nb.conf ${STAGEDIR}${PREFIX}/etc/nb.conf.sample
@${MKDIR} ${STAGEDIR}${DATADIR}
.for data in default lang lib moods plugins
@${MKDIR} ${STAGEDIR}${DATADIR}/${data} && \
( cd ${WRKSRC}/${data} && \
${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}/${data} "! -name *.orig" )
.endfor
- @${CP} ${WRKSRC}/welcome-to-nb.txt ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/welcome-to-nb.txt ${STAGEDIR}${DATADIR}
post-install-DOCS-on:
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in COPYING ChangeLog README TODO copyright
- @${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for doc in ChangeLog README TODO
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
- @${INSTALL_DATA} ${WRKSRC}/docs/nanoblogger.html ${STAGEDIR}${DOCSDIR}/html
+ ${INSTALL_DATA} ${WRKSRC}/docs/nanoblogger.html ${STAGEDIR}${DOCSDIR}/html
.include <bsd.port.mk>
diff --git a/www/nanoblogger/pkg-plist b/www/nanoblogger/pkg-plist
index fffc71c01b52..252b88b14191 100644
--- a/www/nanoblogger/pkg-plist
+++ b/www/nanoblogger/pkg-plist
@@ -77,11 +77,9 @@ bin/nb
%%DATADIR%%/plugins/weblog_status.sh
%%DATADIR%%/plugins/z001_articles_meta.sh
%%DATADIR%%/welcome-to-nb.txt
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/copyright
%%PORTDOCS%%%%DOCSDIR%%/html/nanoblogger.html
@dir %%DATADIR%%/plugins/page/mod
@dir %%DATADIR%%/plugins/entry/mod