aboutsummaryrefslogtreecommitdiffstats
path: root/net/linux-jigdo/Makefile
blob: ba266fcf77c7bdece44831aa9801499bb47f40ad (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.6.8
#PORTREVISION?= 0
CATEGORIES= net
MASTER_SITES=   http://home.in.tum.de/~atterer/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
USE_BZIP2=  YES
USE_LINUX=  yes
NO_BUILD=   yes
STRIP=

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>