diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-08-10 10:50:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2008-08-10 10:50:38 +0000 |
commit | e59a981e69c18d777b3fd82620c6cb11a53a2cf7 (patch) | |
tree | 6b1cf01ca7fe96c7ee463fb95873e43c27599822 /misc/metalink-checker | |
parent | 09e9cf888d63549b7eb6a78eb9f72af2b1404e88 (diff) | |
download | ports-e59a981e69c18d777b3fd82620c6cb11a53a2cf7.tar.gz ports-e59a981e69c18d777b3fd82620c6cb11a53a2cf7.zip |
New port metalink-checker version 1.3: Python script to check
metalink files and complete a basic download
Notes
Notes:
svn path=/head/; revision=218328
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 |