summaryrefslogtreecommitdiff
path: root/multimedia/mimms/Makefile
blob: 8e0580faffe6537c4d2a06556d44cc2ce4a9ca01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Yinghong.Liu <liu_yinghong@yahoo.com.cn>
# $FreeBSD$

PORTNAME=	mimms
DISTVERSION=	3.2.1
CATEGORIES=	multimedia net
MASTER_SITES=	${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	liu_yinghong@yahoo.com.cn
COMMENT=	Download streams using the MMS protocol

LIB_DEPENDS=	mms.0:${PORTSDIR}/net/libmms

USE_BZIP2=	yes

USE_PYTHON=		yes
USE_PYDISTUTILS=	yes

PYDISTUTILS_PKGVERSION=	3.2

MAN1=		mimms.1
PORTDOCS=	AUTHORS COPYING NEWS README

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
	@${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>