View | Details | Raw Unified | Return to bug 74691
Collapse All | Expand All

(-)bsd.port.mk (-2 / +14 lines)
Lines 3576-3582 Link Here
3576
_INSTALL_SUSEQ= check-umask install-mtree pre-su-install \
3576
_INSTALL_SUSEQ= check-umask install-mtree pre-su-install \
3577
				pre-su-install-script do-install post-install \
3577
				pre-su-install-script do-install post-install \
3578
				post-install-script add-plist-info add-plist-docs \
3578
				post-install-script add-plist-info add-plist-docs \
3579
				compress-man run-ldconfig fake-pkg security-check
3579
				add-plist-post compress-man run-ldconfig fake-pkg security-check
3580
_PACKAGE_DEP=	install
3580
_PACKAGE_DEP=	install
3581
_PACKAGE_SEQ=	package-message pre-package pre-package-script \
3581
_PACKAGE_SEQ=	package-message pre-package pre-package-script \
3582
				do-package post-package-script
3582
				do-package post-package-script
Lines 4677-4684 Link Here
4677
	@${ECHO_CMD} "@exec install-info %D/${INFO_PATH}/$i.info %D/${INFO_PATH}/dir" \
4677
	@${ECHO_CMD} "@exec install-info %D/${INFO_PATH}/$i.info %D/${INFO_PATH}/dir" \
4678
		>> ${TMPPLIST}
4678
		>> ${TMPPLIST}
4679
.endfor
4679
.endfor
4680
.if !defined(NO_MTREE)
4680
.if (${PREFIX} != "/usr")
4681
	@${ECHO_CMD} "@unexec if [ -f %D/${INFO_PATH}/dir ]; then if sed -e '1,/Menu:/d' %D/${INFO_PATH}/dir | grep -q '^[*] '; then true; else rm %D/${INFO_PATH}/dir; fi; fi" >> ${TMPPLIST}
4681
	@${ECHO_CMD} "@unexec if [ -f %D/${INFO_PATH}/dir ]; then if sed -e '1,/Menu:/d' %D/${INFO_PATH}/dir | grep -q '^[*] '; then true; else rm %D/${INFO_PATH}/dir; fi; fi" >> ${TMPPLIST}
4682
.if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${X11BASE} && ${PREFIX} != ${LINUXBASE})
4683
	@${ECHO_CMD} "@unexec rmdir %D/info 2> /dev/null || true" >> ${TMPPLIST}
4684
.endif
4685
.endif
4686
4687
# If we're installing into a non-standard PREFIX, we need to remove that directory at
4688
# deinstall-time
4689
add-plist-post:
4690
.if (${PREFIX} != ${LOCALBASE} && ${PREFIX} != ${X11BASE} && ${PREFIX} != ${LINUXBASE} && ${PREFIX} != "/usr")
4691
	@${ECHO_CMD} "@unexec rmdir %D 2> /dev/null || true" >> ${TMPPLIST}
4692
.else
4693
	@${DO_NADA}
4682
.endif
4694
.endif
4683
4695
4684
# Compress (or uncompress) and symlink manpages.
4696
# Compress (or uncompress) and symlink manpages.

Return to bug 74691