You can use the DEFINE statements as in the manual. E.g.,

' Set LCD Enable port
DEFINE LCD_EREG PORTX
Also, have a look at the LCD_AnyPin thread.

Best Regards,
Paul