1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

Remove the hack we had used to rename man pages to match the actual

names of binaries (back when GCCs configure mechanism failed to do so).
This commit is contained in:
Gerald Pfeifer 2006-09-18 16:23:57 +00:00
parent 4216611aca
commit 77dff0638f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=173337

View File

@ -103,18 +103,11 @@ post-install:
for mp in ${_MANPAGES}; do \
${TEST} -e $${mp} || ${TOUCH} ${TOUCH_FLAGS} $${mp}; \
done
.for f in c++ g77 gcc g++ cpp gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
# gij and jv-convert, for example, are not built on all platforms.
if [ -e ${PREFIX}/man/man1/${f}.1 ]; then \
${MV} -f ${PREFIX}/man/man1/${f}.1 \
${PREFIX}/man/man1/${f}${SUFFIX}.1; \
fi
.endfor
${MV} -f ${PREFIX}/bin/g77${SUFFIX} ${PREFIX}/bin/g77-${SUFFIX}
-${MV} -f ${PREFIX}/man/man1/g77${SUFFIX}.1 ${PREFIX}/man/man1/g77-${SUFFIX}.1
${RM} -f ${TARGLIB}/*.la
${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
${RM} -f ${TARGLIB}/*.la
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///}