summaryrefslogtreecommitdiffstats
path: root/russian/cyrproxy/Makefile
blob: 3da65a47da3f4b056dc010308acf90608e1aca63 (plain)
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
37
38
39
40
# New ports collection makefile for:	cyrproxy
# Date created:				20 May 1997
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

PORTNAME=	cyrproxy
PORTVERSION=	1.4.2.20010208
PORTREVISION=	1
CATEGORIES=	russian net www
MASTER_SITES=	ftp://ftp.lexa.ru/pub/domestic/lexa/
DISTNAME=	cyrproxy-1.4.2

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Cyrillic proxy for network protocols

do-install:
	@ ${MKDIR} ${PREFIX}/share/cyrproxy
	@ ${MKDIR} ${PREFIX}/www/cgi-bin
	@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrproxy ${PREFIX}/libexec
	@ ${INSTALL_PROGRAM} ${WRKSRC}/tcpspy ${PREFIX}/libexec
	@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrtrans ${PREFIX}/bin
	@ ${INSTALL_PROGRAM} ${WRKSRC}/discover/discover ${PREFIX}/bin
	@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrcoder/cyrwww ${PREFIX}/www/cgi-bin
	@ ${INSTALL_DATA} ${WRKSRC}/config.gen ${PREFIX}/etc/cyrproxy.conf.sample
.for f in alt-iso alt-koi8 alt-win iso-alt iso-koi8 iso-win koi8-alt koi8-iso \
		koi8-mac koi8-win mac-koi8 win-alt win-iso win-koi8
	@ ${INSTALL_DATA} ${WRKSRC}/tables/${f} ${PREFIX}/share/cyrproxy
.endfor

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${DOCSDIR}
.for f in History README README.http
	@ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud