All you need is a legal visa to visit Pakistan , the information and requirements for visa can be obtained at here http://www.pakconsulatebcn.com/ Once you reach there, meet him , go to a court or a registered person and get married .. Yeah I guess that's it ...
The best thing is to come to Pakistan (by getting an official visa obviously) and than go to the civil court and get your marriage registered but better to get help of a lawyer which are not v.expensive here.
OR OTHERWISE.
If that boy is out of the country you can go to a Pakistani Embassy in that country and get your marriage registered there.
need any more infor please contact me on waheedintl@hotmail.com
Regards.
F.WAHEED
Articles to help you in your expat project in Karachi