mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
1: Stagify.
2: USES=tar:bzip2 3: Add License. Approved by: portmgr@ (blanket approval)
This commit is contained in:
parent
cc8773c253
commit
be59bc95c0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359431
1 changed files with 5 additions and 9 deletions
|
@ -14,29 +14,25 @@ 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
|
||||
|
||||
USE_BZIP2= yes
|
||||
USES= tar:bzip2
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= bin/getdelta.sh
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},; \
|
||||
s,%%PREFIX%%,${PREFIX},' \
|
||||
${WRKSRC}/getdelta.sh
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/getdelta.sh ${PREFIX}/bin/getdelta.sh
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/getdelta.sh ${STAGEDIR}${PREFIX}/bin/getdelta.sh
|
||||
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Add table
Reference in a new issue