generate portfile stub