1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/misc/metalink-checker/Makefile
Thomas Abthorpe d8299fcc60 - Reassign lioux' ports to the heap
With hat:	portmgr
2014-02-14 16:51:44 +00:00

47 lines
904 B
Makefile

# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
# $FreeBSD$
PORTNAME= metalink
PORTVERSION= 1.3
CATEGORIES= misc
MASTER_SITES= SF/${PORTNAME}s/Metalink%20Checker/2007
PKGNAMESUFFIX?= -checker
DISTNAME= checker-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python script to check metalink files and complete a basic download
LICENSE= GPLv2
USE_DOS2UNIX= yes
USE_PYTHON= yes
NO_BUILD= yes
# Documents to install
DOC_FILES= \
README
.ifndef(NOPORTDOCS)
PORTDOCS= *
.endif
PLIST_FILES= bin/${PORTNAME}.py
NO_STAGE= yes
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>