openbsd-ports/news/hellanzb/Makefile
merdely a86e6aeec5 Add news/py-yenc as RUN_DEPENDS
From Will Maier

ok jasper@, simon@
2007-12-17 00:58:24 +00:00

35 lines
761 B
Makefile

# $OpenBSD: Makefile,v 1.3 2007/12/17 00:58:24 merdely Exp $
COMMENT= retrieve and process nzb-files
DISTNAME= hellanzb-0.13
PKGNAME= ${DISTNAME}p1
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>