(covers information from several alternate timelines)
The SS Mariposa took thirty Berkshire 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 "swine" and later a "Troyian pig." She later yet referred to the Troyan ruler as a "green pig." (TOS: "Elaan of Troyius") The Nazi-influenced Ekosians referred to those they pursued as "Zeon pigs". (TOS: "Patterns of Force")
In 2371, in the mirror universe, when Tuvok sounded a note of caution regarding Rom's reckless idea to attack Terok Nor, Rom told him that it was easy for him to say, as "those Cardassian pigs" didn't kill his brother. (DS9: "Through the Looking Glass")
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: "The Cloud", "Day of Honor")
In 2374, when Tom Paris met the Nazi Kapitän in a simulation of World War II created by the Hirogen and learned of his affair with Brigitte (B'Elanna Torres's holographic alter ego in the program), he described him as a "pig". (VOY: "The Killing Game, Part II")
Several Human foods were made from the meat of pigs, such as bacon and sausage.