aboutsummaryrefslogblamecommitdiff
path: root/russian/cyrproxy/Makefile
blob: 48591f2f7e76a8d5c3b088fa40012b45a4e2e0aa (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                


                                                        
           
 
 

                              
                 


                                                    
 
                                 
                                                    
 









                                                          
           
                                           
                                        





                                                                                 


                                                                               
       


                        


                                                   
       
      
 
                           
# 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

.include <bsd.port.pre.mk>

.if ${MACHINE_ARCH} == alpha
BROKEN=		"Does not compile on ${MACHINE_ARCH}"
.endif

.if ${OSVERSION} >= 501000
BROKEN=		"Does not compile on FreeBSD ${OSVERSION}"
.endif

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.post.mk>