aa98de9b6c
The script scans the given directories for media files with known file name extensions and writes the names into a playlist file in M3U, extended M3U or PLS format. Those very simple formats are used or at least understood by the vast majority of media players on different platforms. For huge collections which have to be rescanned after adding or modifying some files, the program can cache the meta data to speed up subsequent runs. from maintainer Girish Venkatachalam, reworked to use python.port.mk and setuptools by wcmaier@
33 lines
720 B
Makefile
33 lines
720 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/06/04 07:33:20 sthen Exp $
|
|
|
|
COMMENT= creates playlists from directory trees
|
|
|
|
MODPY_EGG_VERSION= 0.4.5
|
|
DISTNAME= mkplaylist-${MODPY_EGG_VERSION}
|
|
CATEGORIES= audio
|
|
HOMEPAGE= http://bj.spline.de/software.html
|
|
|
|
MAINTAINER= Girish Venkatachalam <girish1729@gmail.com>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://bj.spline.de/download/mkplaylist/
|
|
|
|
MODULES= lang/python
|
|
PKG_ARCH = *
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-patch:
|
|
@cp ${FILESDIR}/setup.py ${WRKSRC}/.
|
|
@mv ${WRKSRC}/mkplaylist.py ${WRKSRC}/mkplaylist
|
|
|
|
post-install:
|
|
${INSTALL_MAN} files/mkplaylist.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|