aboutsummaryrefslogtreecommitdiff
path: root/print/hpijs
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-08-05 16:03:36 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-08-05 16:03:36 +0000
commit693798e4b86195355c208d7f0059091efc2b5668 (patch)
tree0db95101dc81687444daf1d74677cf7e833b6727 /print/hpijs
parent7e827b5eb97d0e8db36873ca6fbc88573acdafb1 (diff)
downloadports-693798e4b86195355c208d7f0059091efc2b5668.tar.gz
ports-693798e4b86195355c208d7f0059091efc2b5668.zip
Notes
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' \