Your iMessage settings won't reset themselves during porting - the temporary number will still be in your new iPhone.
To input your old number into your new iPhone:
- Go to Settings
- Tap on Messages
- Tap iMessage ON
- Scroll down to Send & Receive number
- Replace the temporary number with your old number
- Then tap Save.
That's it, you're all ready for action.