It sounds like your cat might have some anal sac problems. This would leave stuff the color and smell you describe. He should be examined by a vet ASAP, because although usually these problems are not serious they are uncomfortable for both the cat involved and the humans surrounding him.----- Smile, it will make them wonder what you are up to!