aboutsummaryrefslogtreecommitdiff
path: root/print/hpijs
diff options
context:
space:
mode:
Diffstat (limited to 'print/hpijs')
-rw-r--r--print/hpijs/Makefile4
1 files changed, 2 insertions, 2 deletions
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 <bsd.port.pre.mk>
-
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCUPS} || ${PORT_OPTIONS:MFOOMATIC}
@@ -47,6 +45,8 @@ CONFIGURE_ARGS+= --disable-cups-install
PLIST_SUB+= CUPS="@comment "
.endif
+.include <bsd.port.pre.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local/share/cups|${LOCALBASE}/share/cups|g ; \
s|/usr/lib/cups/filter|${LOCALBASE}/libexec/cups/filter|g' \