Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 14:22:32 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r395485 - head/news/hellanzb
Message-ID:  <201508281422.t7SEMWMe010757@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Aug 28 14:22:31 2015
New Revision: 395485
URL: https://svnweb.freebsd.org/changeset/ports/395485

Log:
  - Add NO_ARCH
  - heplers
  - Switch to @sample
  - Drop @dirrm* from plist
  
  Approved by:	portmgr blanket

Modified:
  head/news/hellanzb/Makefile
  head/news/hellanzb/pkg-plist

Modified: head/news/hellanzb/Makefile
==============================================================================
--- head/news/hellanzb/Makefile	Fri Aug 28 13:50:43 2015	(r395484)
+++ head/news/hellanzb/Makefile	Fri Aug 28 14:22:31 2015	(r395485)
@@ -21,6 +21,7 @@ RUN_DEPENDS=	par2:${PORTSDIR}/archivers/
 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/
 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>

Modified: head/news/hellanzb/pkg-plist
==============================================================================
--- head/news/hellanzb/pkg-plist	Fri Aug 28 13:50:43 2015	(r395484)
+++ head/news/hellanzb/pkg-plist	Fri Aug 28 14:22:31 2015	(r395485)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508281422.t7SEMWMe010757>