Thank you for your response. You could marry your boyfriend and your he could file then the I-130/I-485
Packet (Petition for Alien Relative). You could then adjust status in the United States without returning to Portugal because you initially entered the United States legally.
The entire process takes a little over a year and require that you take a Biometrics exam and that you and your wife be interviewed by a USCIS officer who will determine if you married for the purpose of obtaining permanent resident status. If approved, you would be issued a conditional permanent residence card because you would have been married less than two years.
The I-130/1-485 packet is found at the USCIS website at uscis.gov.
You and your future husband should file the following forms with supporting documents:
I-130-your husband's petition
I-765 -Work permit application
G-325A-biographic form for both of you
I-864-Affidavit of support
The marriage itself can be difficult without sufficient income but your boyfriend could obtain a joint sponsor, any lawful permanent resident or US citizen over the age of 18 with respect to your I-864 Affidavit of Support.