aboutsummaryrefslogtreecommitdiff
path: root/russian/cyrproxy
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-09-03 15:54:59 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-09-03 15:54:59 +0000
commitbdb786cf04aad9de36c966193b6b8822afe68289 (patch)
tree81ccfd0641f920f009200ec231b583858e5da66a /russian/cyrproxy
parent5c11934fd65fc428391e66b3f1a2a7080c69612e (diff)
downloadports-bdb786cf04aad9de36c966193b6b8822afe68289.tar.gz
ports-bdb786cf04aad9de36c966193b6b8822afe68289.zip
Notes
Diffstat (limited to 'russian/cyrproxy')
-rw-r--r--russian/cyrproxy/Makefile24
-rw-r--r--russian/cyrproxy/pkg-plist8
2 files changed, 16 insertions, 16 deletions
diff --git a/russian/cyrproxy/Makefile b/russian/cyrproxy/Makefile
index e5aa48219e28..0403d14ae7b9 100644
--- a/russian/cyrproxy/Makefile
+++ b/russian/cyrproxy/Makefile
@@ -5,13 +5,13 @@
# $FreeBSD$
#
-PORTNAME= cyrproxy
-PORTVERSION= 1.4.2.20010208
-CATEGORIES= russian net www
-MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/lexa/
-DISTNAME= cyrproxy-1.4.2
+PORTNAME= cyrproxy
+PORTVERSION= 1.4.2.20010208
+CATEGORIES= russian net www
+MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/lexa/
+DISTNAME= cyrproxy-1.4.2
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Cyrillic proxy for network protocols
do-install:
@@ -23,16 +23,16 @@ do-install:
@ ${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
+.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} ${PREFIX}/share/doc/cyrproxy
-
-.for file in History README README.http
- @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/cyrproxy
+ @ ${MKDIR} ${DOCSDIR}
+.for f in History README README.http
+ @ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
diff --git a/russian/cyrproxy/pkg-plist b/russian/cyrproxy/pkg-plist
index b063f381ea12..4553af3fdddf 100644
--- a/russian/cyrproxy/pkg-plist
+++ b/russian/cyrproxy/pkg-plist
@@ -17,11 +17,11 @@ share/cyrproxy/mac-koi8
share/cyrproxy/win-alt
share/cyrproxy/win-iso
share/cyrproxy/win-koi8
-%%PORTDOCS%%share/doc/cyrproxy/History
-%%PORTDOCS%%share/doc/cyrproxy/README
-%%PORTDOCS%%share/doc/cyrproxy/README.http
+%%PORTDOCS%%%%DOCSDIR%%/History
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.http
www/cgi-bin/cyrwww
@dirrm share/cyrproxy
-%%PORTDOCS%%@dirrm share/doc/cyrproxy
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec rmdir %D/www/cgi-bin 2> /dev/null || true
@unexec rmdir %D/www 2> /dev/null || true