1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/www/videocache/Makefile
John Marino 8c2460d2e7 Retire www/squid in a month, and deprecate 6 dependent ports too
Squid cache is only supported for one stable release.  There was an
exception for squid 2.7 (www/squid) as it was supported until squid 3.x
reached feature parity which occurred with the release of Squid 3.2

Thus the maintainers of Squid have declared Squid 2.7 reached End-of-Life
on 14 August 2012.  As a result, set this port to expire on 15 Sept 2014.

Seven ports dependent on www/squid have been deprecated with the same
date. Perhaps they can be switched to www/squid33 before they expire.

Approved by:	portmgr (implicit, some ports not staged)
2014-08-17 14:06:11 +00:00

42 lines
1.4 KiB
Makefile

# Created by: Murilo Opsfelder <mopsfelder@gmail.com>
# $FreeBSD$
PORTNAME= videocache
PORTVERSION= 1.9.2
CATEGORIES= www
MASTER_SITES= http://secure.thrallingpenguin.com/hosting_files/ \
http://distcache.freebsd.org/ports-distfiles/ \
http://old.cachevideos.com/sites/default/files/pub/videocache/
MAINTAINER= mopsfelder@gmail.com
COMMENT= Squid URL rewriter for bandwidth optimization
DEPRECATED= Depends on www/squid which is two years past EOL
EXPIRATION_DATE=2014-09-15
RUN_DEPENDS= ${LOCALBASE}/sbin/squid:${PORTSDIR}/www/squid \
${PYTHON_SITELIBDIR}/urlgrabber/grabber.py:${PORTSDIR}/www/py-urlgrabber \
${PYTHON_SITELIBDIR}/iniparse/ini.py:${PORTSDIR}/devel/py-iniparse
NO_BUILD= yes
USE_PYTHON= yes
PORTDOCS= CHANGELOG COPYING Readme
PORTEXAMPLES= squid.conf
SUB_FILES= pkg-message
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/update-vc ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/videocache.8.gz ${STAGEDIR}${MAN1PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/videocache-sysconfig.conf ${STAGEDIR}${PREFIX}/etc/videocache.conf.sample
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/videocache/*.py ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${FILESDIR}/squid.conf.example ${STAGEDIR}${EXAMPLESDIR}/squid.conf
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>