aboutsummaryrefslogtreecommitdiff
path: root/news/hellanzb
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 14:22:31 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-08-28 14:22:31 +0000
commit2e5f64852500876757099716761fff7a7db74ce0 (patch)
treead995dd396f85fa0c17de7c2dc12fd2185cfd0d3 /news/hellanzb
parent5f3bf8cb9de245f30e570834f1e9440ed6175db0 (diff)
downloadports-2e5f64852500876757099716761fff7a7db74ce0.tar.gz
ports-2e5f64852500876757099716761fff7a7db74ce0.zip
Notes
Diffstat (limited to 'news/hellanzb')
-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