aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-06-19 03:54:31 +0800
committerpav <pav@FreeBSD.org>2008-06-19 03:54:31 +0800
commit46822fbf310b1a662d54363338bbf29dfa785b33 (patch)
treeff83403355309459f8c68b17750805c147bc1c50
parent7199ea8baecc4947f10ca66fbbbbbfa929805034 (diff)
downloadfreebsd-ports-gnome-46822fbf310b1a662d54363338bbf29dfa785b33.tar.gz
freebsd-ports-gnome-46822fbf310b1a662d54363338bbf29dfa785b33.tar.zst
freebsd-ports-gnome-46822fbf310b1a662d54363338bbf29dfa785b33.zip
- Update to 3.2.1
PR: ports/124275 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> Approved by: maintainer timeout (14 days)
-rw-r--r--multimedia/mimms/Makefile29
-rw-r--r--multimedia/mimms/distinfo6
-rw-r--r--multimedia/mimms/pkg-plist11
3 files changed, 24 insertions, 22 deletions
diff --git a/multimedia/mimms/Makefile b/multimedia/mimms/Makefile
index 9216d08091b9..b4fdc23d46d6 100644
--- a/multimedia/mimms/Makefile
+++ b/multimedia/mimms/Makefile
@@ -6,39 +6,30 @@
#
PORTNAME= mimms
-DISTVERSION= 2.0.1
-PORTREVISION= 1
+DISTVERSION= 3.2.1
CATEGORIES= multimedia net
-MASTER_SITES= http://download.savannah.gnu.org/releases/mimms/ \
- http://ftp.cc.uoc.gr/mirrors/nongnu.org/mimms/ \
- http://dl.sv.gnu.org/releases/mimms/
+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
-RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_BZIP2= yes
-USE_QT_VER= 4
-QT_COMPONENTS= qmake corelib moc uic
-PLIST_FILES= bin/mimms
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PYDISTUTILS_PKGVERSION= 3.2
MAN1= mimms.1
-PORTDOCS= AUTHORS ChangeLog COPYING README
+PORTDOCS= AUTHORS COPYING NEWS README
post-patch:
- @${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g' \
- ${WRKSRC}/mimms.pro
-
-do-configure:
- @cd ${WRKSRC} \
- && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
+ @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py
-do-install:
- @${INSTALL_MAN} ${WRKSRC}/mimms.1 ${PREFIX}/man/man1
- @${INSTALL_PROGRAM} ${WRKSRC}/mimms ${PREFIX}/bin
+post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
diff --git a/multimedia/mimms/distinfo b/multimedia/mimms/distinfo
index 8336264f9abd..c550b4796d1c 100644
--- a/multimedia/mimms/distinfo
+++ b/multimedia/mimms/distinfo
@@ -1,3 +1,3 @@
-MD5 (mimms-2.0.1.tar.bz2) = 3e44f5b182892c4adfa8c08ddf8ccc17
-SHA256 (mimms-2.0.1.tar.bz2) = 1ac867bb82f4240e2415b7bc805ab0d034bf4ee2a1b863fcc1c535d5e0814833
-SIZE (mimms-2.0.1.tar.bz2) = 13246
+MD5 (mimms-3.2.1.tar.bz2) = ec629d8899551b4789ba15c17402c36f
+SHA256 (mimms-3.2.1.tar.bz2) = 92cd3e1800d8bd637268274196f6baec0d95aa8e709714093dd96ba8893c2354
+SIZE (mimms-3.2.1.tar.bz2) = 18224
diff --git a/multimedia/mimms/pkg-plist b/multimedia/mimms/pkg-plist
new file mode 100644
index 000000000000..fad2bf69942c
--- /dev/null
+++ b/multimedia/mimms/pkg-plist
@@ -0,0 +1,11 @@
+bin/mimms
+%%PYTHON_SITELIBDIR%%/libmimms/__init__.py
+%%PYTHON_SITELIBDIR%%/libmimms/__init__.pyc
+%%PYTHON_SITELIBDIR%%/libmimms/__init__.pyo
+%%PYTHON_SITELIBDIR%%/libmimms/core.py
+%%PYTHON_SITELIBDIR%%/libmimms/core.pyc
+%%PYTHON_SITELIBDIR%%/libmimms/core.pyo
+%%PYTHON_SITELIBDIR%%/libmimms/libmms.py
+%%PYTHON_SITELIBDIR%%/libmimms/libmms.pyc
+%%PYTHON_SITELIBDIR%%/libmimms/libmms.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/libmimms