aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2008-08-10 18:50:38 +0800
committerlioux <lioux@FreeBSD.org>2008-08-10 18:50:38 +0800
commit9fb24e3237f053c94b34e97073c615e9a8eb214f (patch)
tree9b9430655ebd0473f27567f5af5ba3734c3414cf /misc
parentf1f0274a8fd8d69385b8e6baa8a130fda63681bc (diff)
downloadfreebsd-ports-gnome-9fb24e3237f053c94b34e97073c615e9a8eb214f.tar.gz
freebsd-ports-gnome-9fb24e3237f053c94b34e97073c615e9a8eb214f.tar.zst
freebsd-ports-gnome-9fb24e3237f053c94b34e97073c615e9a8eb214f.zip
New port metalink-checker version 1.3: Python script to check
metalink files and complete a basic download
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/metalink-checker/Makefile48
-rw-r--r--misc/metalink-checker/distinfo3
-rw-r--r--misc/metalink-checker/pkg-descr7
4 files changed, 59 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index fc61a53df828..52ded3bebd24 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -365,6 +365,7 @@
SUBDIR += mc
SUBDIR += mc-light
SUBDIR += menushki
+ SUBDIR += metalink-checker
SUBDIR += metalink-tools
SUBDIR += metromap
SUBDIR += mgp-mode.el
diff --git a/misc/metalink-checker/Makefile b/misc/metalink-checker/Makefile
new file mode 100644
index 000000000000..31cce246964b
--- /dev/null
+++ b/misc/metalink-checker/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: Metalink checker
+# Date created: Sun 10 Aug 2008 04:22:51 UTC
+# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= metalink
+PORTVERSION= 1.3
+CATEGORIES= misc
+MASTER_SITES= SF
+MASTER_SITE_SUBDIR= metalinks
+PKGNAMESUFFIX?= -checker
+DISTNAME= checker-${PORTVERSION}
+
+MAINTAINER= lioux@FreeBSD.org
+COMMENT= Python script to check metalink files and complete a basic download
+
+USE_DOS2UNIX= yes
+USE_PYTHON= yes
+NO_BUILD= yes
+
+# Documents to install
+DOC_FILES= \
+ README
+
+.ifndef(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+PLIST_FILES= bin/${PORTNAME}.py
+
+do-patch:
+ @${REINPLACE_CMD} -E \
+ -e "s|#!/usr/bin/env[[:space:]]python|#!${PYTHON_CMD}|" \
+ ${WRKSRC}/${PORTNAME}.py
+
+do-install:
+# docs
+.ifndef(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in ${DOC_FILES}
+ @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
+ @${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/misc/metalink-checker/distinfo b/misc/metalink-checker/distinfo
new file mode 100644
index 000000000000..53295d4a8345
--- /dev/null
+++ b/misc/metalink-checker/distinfo
@@ -0,0 +1,3 @@
+MD5 (checker-1.3.tar.gz) = 1770e617809af2ed25f7413a4ec440b2
+SHA256 (checker-1.3.tar.gz) = 723e3717e4add6c9541a6a8a11b24e4fe6495a19f1129a2cb54ffe8d23a7becc
+SIZE (checker-1.3.tar.gz) = 6332
diff --git a/misc/metalink-checker/pkg-descr b/misc/metalink-checker/pkg-descr
new file mode 100644
index 000000000000..4c5751859eb9
--- /dev/null
+++ b/misc/metalink-checker/pkg-descr
@@ -0,0 +1,7 @@
+[ excerpt from developer's web site ]
+
+A Python script to check metalink files and complete a basic download.
+
+WWW: http://metalinks.sourceforge.net/
+
+-- lioux@FreeBSD.org