pkgsrc/net/mimms/Makefile

28 lines
925 B
Makefile

# $NetBSD: Makefile,v 1.8 2018/07/03 05:03:27 adam Exp $
DISTNAME= mimms-3.2.1
CATEGORIES= net multimedia
MASTER_SITES= http://download.savannah.gnu.org/releases/mimms/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://savannah.nongnu.org/projects/mimms/
COMMENT= MMS (e.g. mms://) stream downloader
LICENSE= gnu-gpl-v3
# default is at lang/python/distutils.mk, but
# drop the third digit from DISTNAME. Is it too tricky ?
EGG_NAME?= ${DISTNAME:C/-([^0-9])/_\1/gC/([0-9])\.([0-9])\.([0-9])/\1.\2/}
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37 # not yet ported as of 3.2
SUBST_CLASSES+= man
SUBST_FILES.man+= setup.py
SUBST_SED.man+= -e 's,share/man,${PKGMANDIR},'
SUBST_STAGE.man= post-build
SUBST_MESSAGE.man= Fixing installation path for man pages.
.include "../../lang/python/distutils.mk"
.include "../../net/libmms/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"