diff options
author | lioux <lioux@FreeBSD.org> | 2008-08-10 18:50:38 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2008-08-10 18:50:38 +0800 |
commit | 9fb24e3237f053c94b34e97073c615e9a8eb214f (patch) | |
tree | 9b9430655ebd0473f27567f5af5ba3734c3414cf /misc/metalink-checker | |
parent | f1f0274a8fd8d69385b8e6baa8a130fda63681bc (diff) | |
download | freebsd-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/metalink-checker')
-rw-r--r-- | misc/metalink-checker/Makefile | 48 | ||||
-rw-r--r-- | misc/metalink-checker/distinfo | 3 | ||||
-rw-r--r-- | misc/metalink-checker/pkg-descr | 7 |
3 files changed, 58 insertions, 0 deletions
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 |