summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
Diffstat (limited to 'news')
-rw-r--r--news/hellanzb/Makefile5
-rw-r--r--news/hellanzb/pkg-plist9
2 files changed, 3 insertions, 11 deletions
diff --git a/news/hellanzb/Makefile b/news/hellanzb/Makefile
index d8d1faa4d5c9..716264d6ca4d 100644
--- a/news/hellanzb/Makefile
+++ b/news/hellanzb/Makefile
@@ -21,6 +21,7 @@ RUN_DEPENDS= par2:${PORTSDIR}/archivers/par2cmdline \
USE_PYTHON= distutils
USES= python:2 twisted:run,web
PORTDOCS= CHANGELOG CREDITS README
+NO_ARCH= yes
OPTIONS_DEFINE= DOCS
@@ -33,12 +34,10 @@ RUN_DEPENDS+= rar:${PORTSDIR}/archivers/rar
RUN_DEPENDS+= unrar:${PORTSDIR}/archivers/unrar
.endif
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/news/hellanzb/pkg-plist b/news/hellanzb/pkg-plist
index aab749d41bc0..6ca9e8ac3e87 100644
--- a/news/hellanzb/pkg-plist
+++ b/news/hellanzb/pkg-plist
@@ -1,7 +1,5 @@
bin/hellanzb.py
-@unexec if cmp -s %D/etc/hellanzb.conf.sample %D/etc/hellanzb.conf; then rm -f %D/etc/hellanzb.conf; fi
-etc/hellanzb.conf.sample
-@exec if [ ! -f %D/etc/hellanzb.conf ] ; then cp -p %D/%F %B/hellanzb.conf; fi
+@sample etc/hellanzb.conf.sample
%%PYTHON_SITELIBDIR%%/Hellanzb/Core.py
%%PYTHON_SITELIBDIR%%/Hellanzb/Core.pyc
%%PYTHON_SITELIBDIR%%/Hellanzb/Core.pyo
@@ -92,8 +90,3 @@ etc/hellanzb.conf.sample
%%PYTHON_SITELIBDIR%%/Hellanzb/external/elementtree/SimpleXMLWriter.py
%%PYTHON_SITELIBDIR%%/Hellanzb/external/elementtree/SimpleXMLWriter.pyc
%%PYTHON_SITELIBDIR%%/Hellanzb/external/elementtree/SimpleXMLWriter.pyo
-@dirrm %%PYTHON_SITELIBDIR%%/Hellanzb/HellaXMLRPC
-@dirrm %%PYTHON_SITELIBDIR%%/Hellanzb/NZBLeecher
-@dirrm %%PYTHON_SITELIBDIR%%/Hellanzb/external/elementtree
-@dirrm %%PYTHON_SITELIBDIR%%/Hellanzb/external
-@dirrm %%PYTHON_SITELIBDIR%%/Hellanzb