mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
New port metalink-checker version 1.3: Python script to check
metalink files and complete a basic download
This commit is contained in:
parent
09e9cf888d
commit
e59a981e69
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218328
4 changed files with 59 additions and 0 deletions
|
@ -365,6 +365,7 @@
|
|||
SUBDIR += mc
|
||||
SUBDIR += mc-light
|
||||
SUBDIR += menushki
|
||||
SUBDIR += metalink-checker
|
||||
SUBDIR += metalink-tools
|
||||
SUBDIR += metromap
|
||||
SUBDIR += mgp-mode.el
|
||||
|
|
48
misc/metalink-checker/Makefile
Normal file
48
misc/metalink-checker/Makefile
Normal file
|
@ -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>
|
3
misc/metalink-checker/distinfo
Normal file
3
misc/metalink-checker/distinfo
Normal file
|
@ -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
|
7
misc/metalink-checker/pkg-descr
Normal file
7
misc/metalink-checker/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue