1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Add NO_ARCH

- heplers
- Switch to @sample
- Drop @dirrm* from plist

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-08-28 14:22:31 +00:00
parent 5f3bf8cb9d
commit 2e5f648525
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=395485
2 changed files with 3 additions and 11 deletions

View File

@ -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>

View File

@ -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