# ex:ts=8
# Ports collection makefile for:	axelq
# Date created:			Oct 23, 2002
# Whom:				ijliao
#
# $FreeBSD: ports/ftp/axelq/Makefile,v 1.8 2006/12/22 22:20:51 bsam Exp $
#

PORTNAME=	axelq
PORTVERSION=	0.80
PORTREVISION=	2
CATEGORIES=	ftp
MASTER_SITES=	http://zephilia.dyndns.org/tsuki_yomi/axelq/releases/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A queue manager for the download accelerator axel

RUN_DEPENDS=	axel:${PORTSDIR}/ftp/axel \
		bash:${PORTSDIR}/shells/bash

NO_BUILD=	yes

MAN1=	axelq.1

post-patch:
	@${REINPLACE_CMD} -e "s|/bin/sh|${LOCALBASE}/bin/bash|g" ${WRKSRC}/axelq
	@${CAT} ${FILESDIR}/axelq.rc | ${SED} -e "s|%%PREFIX%%|${PREFIX}|" >> \
		${WRKSRC}/axelq.rc

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/axelq ${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/axelq.rc ${PREFIX}/etc
	${INSTALL_MAN} ${WRKSRC}/axelq.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1