summaryrefslogtreecommitdiff
path: root/russian/cyrproxy/Makefile
blob: 4b801bc682dc5109cad1e887b1e21b9ca5d26013 (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
37
# New ports collection makefile for:	cyrproxy
# Version required:			1.4.2
# Date created:				20 May 1997
# Whom:					Andrey Zakhvatov
#
# $FreeBSD$
#

DISTNAME=		cyrproxy-1.4.2
CATEGORIES=		russian net www
MASTER_SITES=		ftp://ftp.lexa.ru/pub/domestic/lexa/

MAINTAINER=		andy@icc.surw.chel.su

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 file 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/${file} ${PREFIX}/share/cyrproxy
.endfor

post-install:
.if !defined(NOPORTDOCS)
	@ ${MKDIR} ${PREFIX}/share/doc/cyrproxy

.for file in History README README.http
	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cyrproxy
.endfor
.endif

.include <bsd.port.mk>