The SS Mariposa took several pigs with them on their initial mission in 2123. By 2365, the Bringloidi colony that the USS Enterprise evacuated brought many pigs on board the ship. (TNG: "Up The Long Ladder")
In 2268, to convey the fact that she did not like him, Elaan called Petri a "Troyian pig." (TOS: "Elaan of Troyius") The Nazi-influenced Ekosians referred to those they pursued as "Zeon pigs". (TOS: "Patterns of Force")
When B'Elanna Torres first met Tom Paris, she thought he was an "arrogant, self-absorbed pig". Four years later, she said jokingly that he had changed into a "stubborn, domineering pig". (VOY: "Day of Honor")
Several Human foods are made from the meat of pigs, such as bacon and sausage.