In a food processor, combine the basil, garlic, oil, pine nuts, 1 teaspoon salt, and several grindings of pepper. Process until a coarse paste forms, stopping occasionally to scrape down the sides of the bowl with a rubber spatula. Transfer to a bowl and stir in the cheese and butter.