ca670c88ed
pysrt is a Python library used to edit or create SubRip files.
22 lines
635 B
Makefile
22 lines
635 B
Makefile
# $NetBSD: Makefile,v 1.1 2017/04/14 13:57:51 leot Exp $
|
|
|
|
DISTNAME= pysrt-1.1.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pysrt/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/byroot/pysrt
|
|
COMMENT= Python parser for SubRip (srt) files
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
${MV} ${DESTDIR}${PREFIX}/bin/srt ${DESTDIR}${PREFIX}/bin/srt-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|