Check-in [1962699c1c]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix symlinke after uncompressing
Timelines: family | ancestors | trunk
Files: files | file ages | folders
SHA1:1962699c1c8864ea98a13c024d232dea657edbe2
User & Date: bapt 2012-06-25 21:43:26
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
Changes

Changes to ports/Mk/bsd.port.mk.

5916
5917
5918
5919
5920
5921
5922






5923
5924
5925
5926
5927


5928
5929

5930
5931
5932
5933
5934
5935
5936
	@${DO_NADA}
.endif
.else #use stage
.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







>
>
>
>
>
>





>
>

<
>







5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936

5937
5938
5939
5940
5941
5942
5943
5944
	@${DO_NADA}
.endif
.else #use stage
.endif
.if defined(NO_MANCOMPRESS)
	@${ECHO_MSG} "===>   Uncompressing manual pages for ${PKGNAME}"
	@${FIND} ${STAGEDIR}/${MANPREFIX}/man -type f -name "*.gz" -exec ${GUNZIP_CMD} {} \; || ${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
.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}`; \
	destf=$${dest##*/}; \
	linkf=$${link##*/}; \
	cd $${link%/*} ; \

	ln -fs $${destf%%.gz} $${linkf%%.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