openbsd-ports/news/hellanzb/Makefile
2009-03-28 16:49:49 +00:00

35 lines
759 B
Makefile

# $OpenBSD: Makefile,v 1.4 2009/03/28 16:49:49 naddy Exp $
COMMENT= retrieve and process nzb-files
DISTNAME= hellanzb-0.13
PKGNAME= ${DISTNAME}p2
CATEGORIES= news
HOMEPAGE= http://www.hellanzb.com/trac/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.hellanzb.com/distfiles/
MODULES= lang/python
RUN_DEPENDS= ::archivers/par2cmdline \
::archivers/unrar \
::devel/py-twisted/core \
::devel/py-twisted/web \
::news/py-yenc
NO_REGRESS= Yes
pre-configure:
@find ${WRKDIST} -name \*.py | \
xargs perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g'
@perl -pi -e 's,!!SYSCONFDIR!!,${SYSCONFDIR},' \
${WRKSRC}/Hellanzb/Core.py
.include <bsd.port.mk>