aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/linux-jigdo/Makefile
blob: 71cabdbc0e4f9a86461f2609cee567142063e43a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ex:ts=8
# Ports collection makefile for:  linux-jigdo
# Date created:           21 July 2002
# Whom:               Udo Schweigert
#
# $FreeBSD$
#

PORTNAME=   jigdo
PORTVERSION=    0.7.3
#PORTREVISION?= 0
PORTREVISION=   1
CATEGORIES= net-p2p
MASTER_SITES=   http://atterer.net/jigdo/
PKGNAMEPREFIX=  linux-
DISTNAME=   jigdo-bin-${PORTVERSION}

MAINTAINER= udo.schweigert@siemens.com
COMMENT=    A tool designed to ease the distribution of very large files

RUN_DEPENDS=    wget:${PORTSDIR}/ftp/wget

ONLY_FOR_ARCHS= i386 amd64
USE_BZIP2=  YES
USE_LINUX=  yes
NO_BUILD=   yes

PROGRAMS=   jigdo-file
SCRIPTS=    jigdo-lite jigdo-mirror

MAN1=       jigdo-file.1 jigdo-lite.1 jigdo-mirror.1

pre-install:
    @${BRANDELF} -t Linux ${WRKSRC}/jigdo-file

do-install:
.for i in ${PROGRAMS}
    @${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin
.endfor
.for i in ${SCRIPTS}
    @${INSTALL_SCRIPT} ${WRKSRC}/$i ${PREFIX}/bin
.endfor
.for i in ${PROGRAMS} ${SCRIPTS}
    @${INSTALL_MAN} ${WRKSRC}/$i.1 ${PREFIX}/man/man1
.endfor

.include <bsd.port.mk>