summaryrefslogtreecommitdiff
path: root/ftp/axelq/Makefile
blob: 88244e970ed8d74c57684df29953dac24e1ca3ef (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
# ex:ts=8
# Ports collection makefile for:	axelq
# Date created:			Oct 23, 2002
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	axelq
PORTVERSION=	0.70
CATEGORIES=	ftp
MASTER_SITES=	http://elektron.its.tudelft.nl/~hemmin98/axelq_releases/

MAINTAINER=	ports@FreeBSD.org

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

USE_REINPLACE=	yes
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>