Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix symlinks after manpage compression |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
03c2fc0a5c9eedaf9bf1d5173bf4c582 |
User & Date: | bapt 2012-06-25 21:39:34 |
Context
2012-06-25
| ||
21:43 | Fix symlinke after uncompressing Leaf check-in: 1962699c1c user: bapt tags: trunk | |
21:39 | Fix symlinks after manpage compression check-in: 03c2fc0a5c user: bapt tags: trunk | |
15:15 |
- use compact test syntax
Submitted by ak@ check-in: 39db7148d8 user: bapt tags: trunk | |
Changes
Changes to ports/Mk/bsd.port.mk.
5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 |
.endif .if defined(NO_MANCOMPRESS) @${ECHO_MSG} "===> Uncompressing manual pages for ${PKGNAME}" @${FIND} ${STAGEDIR}/${MANPREFIX}/man -type f -name "*.gz" -exec ${GUNZIP_CMD} {} \; || ${TRUE} .else @${ECHO_MSG} "===> Compressing manual pages for ${PKGNAME}" @${FIND} ${STAGEDIR}/${MANPREFIX}/man -type f -name "*.[0-9]" -exec ${GZIP_CMD} -9 {} \; || ${TRUE} .endif .endif # Fake installation of package so that user can pkg_delete it later. # Also, make sure that an installed port is recognized correctly in # accordance to the @pkgdep directive in the packing lists |
> > > > > > |
5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 |
.endif .if defined(NO_MANCOMPRESS) @${ECHO_MSG} "===> Uncompressing manual pages for ${PKGNAME}" @${FIND} ${STAGEDIR}/${MANPREFIX}/man -type f -name "*.gz" -exec ${GUNZIP_CMD} {} \; || ${TRUE} .else @${ECHO_MSG} "===> Compressing manual pages for ${PKGNAME}" @${FIND} ${STAGEDIR}/${MANPREFIX}/man -type f -name "*.[0-9]" -exec ${GZIP_CMD} -9 {} \; || ${TRUE} @cd ${STAGEDIR}; ${FIND} -L ./${MANPREFIX}/man -type l | while read link; do \ dest=`readlink $${link}`; \ cd $${link%/*} ; \ ln -fs $${dest##*/}.gz $${link##*/}.gz ; \ cd ${STAGEDIR} ;\ done .endif .endif # Fake installation of package so that user can pkg_delete it later. # Also, make sure that an installed port is recognized correctly in # accordance to the @pkgdep directive in the packing lists |