Longview man gets prison time for child porn