blob: 059f47762f3739a5b0af5b3ad11861b24cce9f36 (
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
|
# Created by: Anton Statutov <astatutov@gmail.com>
# $FreeBSD$
PORTNAME= getdelta
PORTVERSION= 0.7.8
PORTREVISION= 5
CATEGORIES= sysutils ports-mgmt
MASTER_SITES= ${MASTER_SITE_GENTOO} \
http://132.207.4.160/distfiles/ \
http://distfiles.gentoo.org/distfiles/ \
http://linux01.gwdg.de/~nlissne/
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= astatutov@gmail.com
COMMENT= Script for reducing bandwidth load while upgrading ports disfiles
LICENSE= GPLv2
RUN_DEPENDS= deltup>=0.4.4:${PORTSDIR}/sysutils/deltup \
wget:${PORTSDIR}/ftp/wget \
bash:${PORTSDIR}/shells/bash
USES= tar:bzip2
NO_WRKSUBDIR= yes
NO_BUILD= yes
PLIST_FILES= bin/getdelta.sh
SUB_FILES= pkg-message
post-patch:
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \
s,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/getdelta.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/getdelta.sh ${STAGEDIR}${PREFIX}/bin/getdelta.sh
.include <bsd.port.mk>
|