NEW_BUNDLE_EXTENSION = .BackModule
BINARY_EXTENSION = .BackO
INSTALL_BUNDLE = ${DSTROOT}/${INSTALLDIR}/${NAME}

INSTALL_AS_USER = $(USER)
INSTALL_AS_GROUP = $(GROUP)


after_install::
	/bin/rm -rf ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
	${MV} ${INSTALL_BUNDLE}.${BUNDLE_EXTENSION} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
	${MV} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME} \
		${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME}${BINARY_EXTENSION}
