Here is a link that refers to the Puerto Rico decision. It mentions the 1972 Supreme Court ruling.
http://www.usatoday.com/story/news/nation/2014/10/22/gay-marriage-puerto-rico/17711957/
It looks like the case was Baker vs. Nelson.
http://en.wikipedia.org/wiki/Baker_v._Nelson