freebsd-ports/sysutils/getdelta/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

37 lines
870 B
Makefile

# Created by: Anton Statutov <astatutov@gmail.com>
# $FreeBSD$
PORTNAME= getdelta
PORTVERSION= 0.7.8
PORTREVISION= 5
CATEGORIES= sysutils ports-mgmt
MASTER_SITES= GENTOO \
http://132.207.4.160/distfiles/ \
http://distfiles.gentoo.org/distfiles/ \
http://linux01.gwdg.de/~nlissne/
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>