aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mailman/Makefile6
-rw-r--r--math/glpk/Makefile6
-rw-r--r--misc/quotes/Makefile6
-rw-r--r--net-mgmt/mrtg/Makefile8
-rw-r--r--net/ggsd/Makefile6
-rw-r--r--net/mrtg/Makefile8
-rw-r--r--www/evg/Makefile2
-rw-r--r--x11-fm/xnc/Makefile4
-rw-r--r--x11-toolkits/fltk/Makefile6
9 files changed, 26 insertions, 26 deletions
diff --git a/mail/mailman/Makefile b/mail/mailman/Makefile
index 2841f9e557ac..9cdba96db118 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 9b57f5a1349b..54fbdf5fa75e 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 b7bce1bf820b..a6b161add5ed 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 451df466acc8..5f6643aeeb65 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 31637f166822..4c25bc5bfe76 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 451df466acc8..5f6643aeeb65 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 9275c903de57..729553c2133f 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 8238305d7a0b..f502d2761172 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 d34a7d8264b6..acdbd2e66e4b 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>