aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/jigdo/Makefile
blob: ee739ec0bbbdf33e728658de9f37b9376f0ced3b (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
48
49
50
51
# ports collection makefile for:    jigdo
# Date created:             23 July 2002
# Whom:                 Attila Nagy <bra@fsn.hu>
#
# $FreeBSD$
#

PORTNAME=   jigdo
PORTVERSION=    0.7.0
PORTREVISION=   1
CATEGORIES= ftp
MASTER_SITES=   http://atterer.net/jigdo/

MAINTAINER= bra@fsn.hu
COMMENT=    A utility used to retrieve very large files over the Internet

BUILD_DEPENDS=  libwww-config:${PORTSDIR}/www/libwww
RUN_DEPENDS=    ${LOCALBASE}/bin/wget:${PORTSDIR}/ftp/wget

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

USE_BZIP2=  yes
USE_SUBMAKE=    yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-libdb --disable-nls --without-gui
USE_GMAKE=  yes

SCRIPTS_ENV=    WRKDIRPREFIX="${WRKDIRPREFIX}" \
        TOUCH="${TOUCH}" \
        MKDIR="${MKDIR}" \

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
NOT_FOR_ARCHS+= alpha
.endif

pre-fetch:
    @${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.jigdo

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

post-install:
    @${STRIP_CMD} ${PREFIX}/bin/jigdo-file

post-clean:
    @${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.include <bsd.port.post.mk>