summaryrefslogblamecommitdiff
path: root/news/hellanzb/Makefile
blob: 716264d6ca4daa3851f37549e102201dd8205acc (plain) (tree)
1
2
3
4
5
6
7
8
                                                 
           

                        
                    
                 

                                                  



                                                 
                          
 


                                                        
                                                                         
                                         
 

                                        
                                        
                   
 
                    
 
                              
 

                                    




                                                 
                     
                                       
                       
                                                               
       
 
                      
# Created by: Philip Jenvey <pjenvey@groovie.org>
# $FreeBSD$

PORTNAME=	hellanzb
PORTVERSION=	0.13
PORTREVISION=	2
CATEGORIES=	news
MASTER_SITES=	http://www.hellanzb.com/distfiles/

MAINTAINER=	pjenvey@groovie.org
COMMENT=	Nzb downloader and post processor

LICENSE=	BSD3CLAUSE

RUN_DEPENDS=	par2:${PORTSDIR}/archivers/par2cmdline \
		flac:${PORTSDIR}/audio/flac \
		shorten:${PORTSDIR}/audio/shorten \
		${PYTHON_PKGNAMEPREFIX}yenc>=0:${PORTSDIR}/news/py-yenc \
		mac:${PORTSDIR}/audio/mac

USE_PYTHON=	distutils
USES=		python:2 twisted:run,web
PORTDOCS=	CHANGELOG CREDITS README
NO_ARCH=	yes

OPTIONS_DEFINE=	DOCS

.include <bsd.port.options.mk>

# more fully-featured rar needs i386
.if ${ARCH} == "i386"
RUN_DEPENDS+=	rar:${PORTSDIR}/archivers/rar
.else
RUN_DEPENDS+=	unrar:${PORTSDIR}/archivers/unrar
.endif

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>