aboutsummaryrefslogtreecommitdiff
path: root/security/retranslator/Makefile
blob: 6275e85063c0179a1178aafcfb9885165e36c2e6 (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
# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
# $FreeBSD$

PORTNAME=	retranslator
PORTVERSION=	5.0.0
DISTVERSIONSUFFIX=	-7
CATEGORIES=	security
MASTER_SITES=	http://utils.kaspersky.com/updater/retranslator_5.0.0.7/FreeBSD_6.3/ \
		LOCAL/vg

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The update utility for Kaspersky applications

NO_BUILD=	yes
ONLY_FOR_ARCHS=	i386 amd64

WRKSRC=		${WRKDIR}/${PORTNAME}

LIB_DEPENDS+=	libm.so:misc/compat6x

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 \
		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
	@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
		${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample

.include <bsd.port.mk>