--- Makefile.orig 2016-02-14 08:21:41.501582000 +0200 +++ Makefile 2016-02-14 10:51:16.346786875 +0200 @@ -3,7 +3,7 @@ PORTNAME= foomatic-filters PORTVERSION= 4.0.17 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/foomatic/ @@ -15,8 +15,6 @@ LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus -CONFLICTS= cups-filters-1.8* - USES= autoreconf ghostscript perl5 pkgconfig GNU_CONFIGURE= yes CONFIGURE_ENV= ac_cv_path_A2PS=${LOCALBASE}/bin/a2ps \ @@ -75,6 +73,8 @@ @${REINPLACE_CMD} -e 's|/bin/bash|${SH}|g' ${WRKSRC}/foomaticrip.c @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/foomaticrip.c @${REINPLACE_CMD} -e '/filter.conf/ s|if|#if|g' ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/beh.in ${WRKSRC}/foomatic-beh.in + @${REINPLACE_CMD} -e 's|beh|foomatic-beh|' ${WRKSRC}/foomatic-beh.in post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foomatic-rip