Utilize DATADIR macro.

This commit is contained in:
Sergey A. Osokin 2004-07-28 09:16:21 +00:00
parent 4dff00bd77
commit 84b6c5ae99
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114920
2 changed files with 17 additions and 17 deletions

View file

@ -19,7 +19,7 @@ post-extract:
@ ${RM} ${WRKSRC}/discover/discover
do-install:
@ ${MKDIR} ${PREFIX}/share/cyrproxy
@ ${MKDIR} ${DATADIR}
@ ${MKDIR} ${PREFIX}/www/cgi-bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/cyrproxy ${PREFIX}/libexec
@ ${INSTALL_PROGRAM} ${WRKSRC}/tcpspy ${PREFIX}/libexec
@ -29,7 +29,7 @@ do-install:
@ ${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
@ ${INSTALL_DATA} ${WRKSRC}/tables/${f} ${DATADIR}
.endfor
post-install:

View file

@ -3,24 +3,24 @@ bin/discover
etc/cyrproxy.conf.sample
libexec/cyrproxy
libexec/tcpspy
share/cyrproxy/alt-iso
share/cyrproxy/alt-koi8
share/cyrproxy/alt-win
share/cyrproxy/iso-alt
share/cyrproxy/iso-koi8
share/cyrproxy/iso-win
share/cyrproxy/koi8-alt
share/cyrproxy/koi8-iso
share/cyrproxy/koi8-mac
share/cyrproxy/koi8-win
share/cyrproxy/mac-koi8
share/cyrproxy/win-alt
share/cyrproxy/win-iso
share/cyrproxy/win-koi8
%%DATADIR%%/alt-iso
%%DATADIR%%/alt-koi8
%%DATADIR%%/alt-win
%%DATADIR%%/iso-alt
%%DATADIR%%/iso-koi8
%%DATADIR%%/iso-win
%%DATADIR%%/koi8-alt
%%DATADIR%%/koi8-iso
%%DATADIR%%/koi8-mac
%%DATADIR%%/koi8-win
%%DATADIR%%/mac-koi8
%%DATADIR%%/win-alt
%%DATADIR%%/win-iso
%%DATADIR%%/win-koi8
%%PORTDOCS%%%%DOCSDIR%%/History
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/README.http
www/cgi-bin/cyrwww
@dirrm share/cyrproxy
@dirrm %%DATADIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec rmdir %D/www/cgi-bin 2> /dev/null || true