aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mimms/Makefile
blob: b4fdc23d46d69a3f20e8c92156b4472cc89df99a (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
38
39
40
# New ports collection makefile for:    mimms
# Date created:     3 Jul 2007
# Whom:                 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

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>