Ticket #12151: macports-mandir.patch
File macports-mandir.patch, 2.9 KB (added by afb@…, 17 years ago) |
---|
-
base/Mk/macports.autoconf.mk.in
53 53 libdir = @libdir@ 54 54 localstatedir = @localstatedir@ 55 55 infodir = @infodir@ 56 mandir = @mandir@ 56 57 57 58 mpconfigdir = @MPCONFIGDIR@ 58 59 portsdir = @PORTSDIR@ -
base/src/port/Makefile
31 31 distclean: clean 32 32 33 33 install: mkdirs 34 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/share/man/man1 34 $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${mandir}/man1 35 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${DESTDIR}${mandir}/man1 35 36 $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/bin 36 37 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port portindex portmirror ${INSTALLDIR}/bin/ 37 38 cd ${INSTALLDIR}/bin && $(LN_S) -f port portf -
base/doc/Makefile
25 25 rm -f "${INSTALLDIR}/man"; \ 26 26 fi 27 27 28 if test ! -e "${INSTALLDIR}/man" ; then \28 if test ! -e "${INSTALLDIR}/man" -a "${mandir}" = "${prefix}/share/man"; then \ 29 29 $(LN_S) share/man ${INSTALLDIR}/man; \ 30 30 fi 31 31 32 $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${mandir}/man5 33 $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${DESTDIR}${mandir}/man7 34 32 35 if test ! -e ${DESTDIR}${mpconfigdir}/macports.conf ; then \ 33 36 set -x; \ 34 37 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macports.conf ${DESTDIR}${mpconfigdir}; \ … … 46 49 $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/share/macports/resources/port1.0/install 47 50 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 prefix.mtree ${INSTALLDIR}/share/macports/resources/port1.0/install/ 48 51 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 644 macosx.mtree ${INSTALLDIR}/share/macports/resources/port1.0/install/ 49 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports.conf.5 ${ INSTALLDIR}/share/man/man550 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${ INSTALLDIR}/share/man/man751 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${ INSTALLDIR}/share/man/man752 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 porthier.7 ${ INSTALLDIR}/share/man/man753 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portgroup.7 ${ INSTALLDIR}/share/man/man752 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 macports.conf.5 ${DESTDIR}${mandir}/man5 53 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portfile.7 ${DESTDIR}${mandir}/man7 54 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portstyle.7 ${DESTDIR}${mandir}/man7 55 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 porthier.7 ${DESTDIR}${mandir}/man7 56 $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 portgroup.7 ${DESTDIR}${mandir}/man7