Every app has it's own license agreement. Typically, most Mac developers allow you to use an app you purchased on a total of up to 5 household Macs. However, this can change with each developer so make sure you check their documentation if this is a concern.