summaryrefslogblamecommitdiff
path: root/ftp/jigdo/Makefile
blob: 1e3446a7a351e7100b659efdce1ffb6bd6f04006 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                
                     



                                                     
                                                                             
 
                                                    




                                                          








                                                           





                          






                                                                    





                                                        
                           
# ports collection makefile for:	jigdo
# Date created:				23 July 2002
# Whom:					Attila Nagy <bra@fsn.hu>
#
# $FreeBSD$
#

PORTNAME=	jigdo
PORTVERSION=	0.7.0
CATEGORIES=	ftp
MASTER_SITES=	http://home.in.tum.de/~atterer/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>