diff --git a/print/hpijs/Makefile b/print/hpijs/Makefile index f4aa34ff0292..85d043e833a9 100644 --- a/print/hpijs/Makefile +++ b/print/hpijs/Makefile @@ -24,8 +24,6 @@ OPTIONS_DEFINE= CUPS DOCS FOOMATIC OPTIONS_DEFAULT= CUPS FOOMATIC FOOMATIC_DESC= Install foomatic-rip and PPD files -.include - .include .if ${PORT_OPTIONS:MCUPS} || ${PORT_OPTIONS:MFOOMATIC} @@ -47,6 +45,8 @@ CONFIGURE_ARGS+= --disable-cups-install PLIST_SUB+= CUPS="@comment " .endif +.include + post-patch: @${REINPLACE_CMD} -e 's|/usr/local/share/cups|${LOCALBASE}/share/cups|g ; \ s|/usr/lib/cups/filter|${LOCALBASE}/libexec/cups/filter|g' \