Using homogeneous coordinates, the light position vector is l = [lx ly lz lw]T where lw is 1 for a positional light and 0 for a directional light.
Although we'll have to consider both types of lights separately in our development, we'll find that the projection matrix we find is the same for both types of lights.