openbsd-ports/audio/pykaraoke/Makefile

36 lines
813 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.3 2009/12/22 15:43:15 ajacoutot Exp $
COMMENT = free karaoke player
V = 0.7.1
MODPY_EGG_VERSION = ${V}
DISTNAME = pykaraoke-${V}
PKGNAME= ${DISTNAME}p1
CATEGORIES = audio
HOMEPAGE = http://kibosh.org/pykaraoke/
# LGPL v2.1 or later
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=pykaraoke/}
EXTRACT_SUFX = .zip
MODULES = lang/python
WANTLIB += SDL
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = ::x11/py-wxPython \
:py-mutagen->=1.9:audio/py-mutagen \
::devel/pygame \
:desktop-file-utils-*:devel/desktop-file-utils
pre-configure:
${SUBST_CMD} ${WRKDIST}/setup.cfg
@perl -pi -e 's,python,${MODPY_BIN},g' ${WRKDIST}/install/*
.include <bsd.port.mk>