mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
a7e75a5d14
of the Kaspersky Lab's applications into a separate folder. With the help of the utility you can download updates for selected Kaspersky Lab's applications installed either in your network or at a home PC. The utility has a function for saving downloaded updates and autopatches in a local folder, a network folder connected as a disc to the computer file system, or onto a flash-carrier. WWW: http://support.kaspersky.com/updater?level=2 PR: ports/147116 Submitted by: Gvozdikov Veniamin <g.veniamin at googlemail.com>
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
# New ports collection makefile for: retranslator
|
|
# Date created: 2010-05-25
|
|
# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= retranslator
|
|
PORTVERSION= 5.0.0
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://utils.kaspersky.com/updater/retranslator_5.0.0.7/FreeBSD_6.3/ \
|
|
http://fbsd.zlonet.ru/distfiles/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-7
|
|
|
|
MAINTAINER= g.veniamin@googlemail.com
|
|
COMMENT= The update utility for Kaspersky applications
|
|
|
|
NO_BUILD= yes
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 630000
|
|
LIB_DEPENDS+= m.4:${PORTSDIR}/misc/compat6x
|
|
.endif
|
|
|
|
do-configure:
|
|
|
|
.for f in 's,./backup/,/var/db/${PORTNAME}/backup,g' \
|
|
's,./bases/,/var/db/${PORTNAME}/bases,g' \
|
|
's,./${PORTNAME}.log,/var/log/${PORTNAME}.log,g'
|
|
@${REINPLACE_CMD} -e ${f} \
|
|
${WRKSRC}/${PORTNAME}.conf
|
|
.endfor
|
|
|
|
do-install:
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.bin \
|
|
${PREFIX}/bin/${PORTNAME}
|
|
|
|
post-install:
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
|
|
${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
|
|
${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \
|
|
fi
|
|
|
|
.include <bsd.port.post.mk>
|