diff options
author | demon <demon@FreeBSD.org> | 2001-07-15 08:21:18 +0000 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2001-07-15 08:21:18 +0000 |
commit | 3c5e5ff71b26161e9900ac6f0f910839185c9a3d (patch) | |
tree | fc1b9ed1e549a7a753cb6ba93f6a50eed0dd4099 | |
parent | 9873a450109992b511053a44689b661ec7565aeb (diff) | |
download | FreeBSD-ports-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.zip FreeBSD-ports-3c5e5ff71b26161e9900ac6f0f910839185c9a3d.tar.gz |
Utilize DATADIR and DOCSDIR.
-rw-r--r-- | mail/mailman/Makefile | 6 | ||||
-rw-r--r-- | math/glpk/Makefile | 6 | ||||
-rw-r--r-- | misc/quotes/Makefile | 6 | ||||
-rw-r--r-- | net-mgmt/mrtg/Makefile | 8 | ||||
-rw-r--r-- | net/ggsd/Makefile | 6 | ||||
-rw-r--r-- | net/mrtg/Makefile | 8 | ||||
-rw-r--r-- | www/evg/Makefile | 2 | ||||
-rw-r--r-- | x11-fm/xnc/Makefile | 4 | ||||
-rw-r--r-- | x11-toolkits/fltk/Makefile | 6 |
9 files changed, 26 insertions, 26 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile index 2841f9e..9cdba96 100644 --- a/mail/mailman/Makefile +++ b/mail/mailman/Makefile @@ -41,13 +41,13 @@ pre-configure: post-install: @${CHOWN} -R :${USERNAME} ${MAILMANDIR} .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/mailman + @${MKDIR} ${DOCSDIR} .for f in BUGS FAQ INSTALL NEWS README* UPGRADING - @${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/mailman + @${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR} .endfor .endif @echo All related binaries have been installed in ${MAILMANDIR}/bin - @echo See ${PREFIX}/share/doc/mailman/INSTALL for installation instructions \(prefix == ${MAILMANDIR}\). + @echo See ${DOCSDIR}/INSTALL for installation instructions \(prefix == ${MAILMANDIR}\). @echo 'Sample entry for httpd.conf for Apache:' @echo ' ScriptAlias /mailman/ ${MAILMANDIR}/cgi-bin/' @echo ' <Directory ${MAILMANDIR}/cgi-bin/>' diff --git a/math/glpk/Makefile b/math/glpk/Makefile index 9b57f5a..54fbdf5 100644 --- a/math/glpk/Makefile +++ b/math/glpk/Makefile @@ -24,10 +24,10 @@ DOCFILES= glpk_lr-1.1.1.ps.gz glpk_sm.ps.gz glpk_ug-1.1.1.ps.gz post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/glpk + @${MKDIR} ${DOCSDIR} for file in ${DOCFILES} ; do \ - ${INSTALL_DATA} ${DISTDIR}/$$file ${PREFIX}/share/doc/glpk/ ; \ - ${GUNZIP_CMD} ${PREFIX}/share/doc/glpk/$$file ; \ + ${INSTALL_DATA} ${DISTDIR}/$$file ${DOCSDIR} ; \ + ${GUNZIP_CMD} ${DOCSDIR}/$$file ; \ done .endif diff --git a/misc/quotes/Makefile b/misc/quotes/Makefile index b7bce1b..a6b161a 100644 --- a/misc/quotes/Makefile +++ b/misc/quotes/Makefile @@ -28,9 +28,9 @@ do-install: @ ${INSTALL_SCRIPT} ${WRKSRC}/quotesmailer ${PREFIX}/bin @ ${INSTALL_DATA} ${WRKSRC}/sample.quotesrc ${PREFIX}/etc/quotesrc.sample .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/quotes - @ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${PREFIX}/share/doc/quotes - @ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${PREFIX}/share/doc/quotes + @ ${MKDIR} ${DOCSDIR} + @ ${INSTALL_DATA} ${WRKSRC}/quotes.txt ${DOCSDIR} + @ ${INSTALL_DATA} ${WRKSRC}/QuExample.pm ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/net-mgmt/mrtg/Makefile b/net-mgmt/mrtg/Makefile index 451df46..5f6643a 100644 --- a/net-mgmt/mrtg/Makefile +++ b/net-mgmt/mrtg/Makefile @@ -35,16 +35,16 @@ do-install: ${MKDIR} -m 755 ${PREFIX}/etc/mrtg ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod - ${MKDIR} -m 755 ${PREFIX}/share/mrtg + ${MKDIR} -m 755 ${DATADIR} .if !defined(NOPORTDOCS) - ${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg + ${MKDIR} -m 755 ${DOCSDIR} for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \ doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \ + ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \ done .endif ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample - ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg + ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod diff --git a/net/ggsd/Makefile b/net/ggsd/Makefile index 31637f1..4c25bc5 100644 --- a/net/ggsd/Makefile +++ b/net/ggsd/Makefile @@ -27,9 +27,9 @@ USE_GTK= yes do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ggsd ${PREFIX}/bin .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/ggsd - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ggsd - ${INSTALL_DATA} ${WRKSRC}/example.scr ${PREFIX}/share/doc/ggsd + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/example.scr ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/net/mrtg/Makefile b/net/mrtg/Makefile index 451df46..5f6643a 100644 --- a/net/mrtg/Makefile +++ b/net/mrtg/Makefile @@ -35,16 +35,16 @@ do-install: ${MKDIR} -m 755 ${PREFIX}/etc/mrtg ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${MKDIR} -m 755 ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod - ${MKDIR} -m 755 ${PREFIX}/share/mrtg + ${MKDIR} -m 755 ${DATADIR} .if !defined(NOPORTDOCS) - ${MKDIR} -m 755 ${PREFIX}/share/doc/mrtg + ${MKDIR} -m 755 ${DOCSDIR} for file in ANNOUNCE CHANGES COPYRIGHT MANIFEST README \ doc/*.html doc/*.pod doc/*.txt doc/*wml doc/*.png ; do \ - ${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/share/doc/mrtg/; \ + ${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \ done .endif ${INSTALL_DATA} ${WRKSRC}/contrib/mrtgmk/cfg/mrtg.cfg ${PREFIX}/etc/mrtg/mrtg.cfg.sample - ${INSTALL_DATA} ${WRKSRC}/images/* ${PREFIX}/share/mrtg + ${INSTALL_DATA} ${WRKSRC}/images/* ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/doc/*.1 ${PREFIX}/man/man1 ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER} ${INSTALL_DATA} ${WRKSRC}/lib/mrtg2/Pod/*.pm ${PREFIX}/lib/perl5/site_perl/${PERL_VER}/Pod diff --git a/www/evg/Makefile b/www/evg/Makefile index 9275c90..729553c 100644 --- a/www/evg/Makefile +++ b/www/evg/Makefile @@ -35,7 +35,7 @@ do-install: @ ${INSTALL_SCRIPT} ${WRKSRC}/evg ${PREFIX}/bin .if !defined(NOPORTDOCS) @ ${MKDIR} ${PREFIX}/share/doc/evg - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/evg + @ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif .include <bsd.port.mk> diff --git a/x11-fm/xnc/Makefile b/x11-fm/xnc/Makefile index 8238305..f502d27 100644 --- a/x11-fm/xnc/Makefile +++ b/x11-fm/xnc/Makefile @@ -35,8 +35,8 @@ MAN1= es.1 ives.1 vs.1 xjpegroot.1 xnc.1 xnlaunch.1 post-install: .if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/doc/xnc - @${INSTALL_DATA} ${WRKSRC}/Docs/* ${PREFIX}/share/doc/xnc + @${MKDIR} ${DOCSDIR} + @${INSTALL_DATA} ${WRKSRC}/Docs/* ${DOCSDIR} .endif @${CAT} ${PKGMESSAGE} diff --git a/x11-toolkits/fltk/Makefile b/x11-toolkits/fltk/Makefile index d34a7d8..acdbd2e 100644 --- a/x11-toolkits/fltk/Makefile +++ b/x11-toolkits/fltk/Makefile @@ -58,13 +58,13 @@ post-install: @ ${INSTALL_MAN} ${WRKSRC}/documentation/fluid.1 \ ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/fltk + @ ${MKDIR} ${DICSDIR} for ext in html gif jpg ; do \ ${INSTALL_DATA} ${WRKSRC}/documentation/*.$$ext \ - ${PREFIX}/share/doc/fltk; \ + ${DOCSDIR}; \ done ${INSTALL_DATA} ${WRKSRC}/documentation/README \ - ${PREFIX}/share/doc/fltk + ${DOCSDIR} .endif .include <bsd.port.mk> |