Index: head/print/foo2zjs/Makefile =================================================================== --- head/print/foo2zjs/Makefile (revision 431319) +++ head/print/foo2zjs/Makefile (revision 431320) @@ -1,49 +1,53 @@ # Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= foo2zjs PORTVERSION= 20161203 +PORTREVISION= 1 CATEGORIES= print MASTER_SITES= LOCAL/bsam/${PORTNAME} \ ftp://ftp.wart.ru/pub/FreeBSD/ports/distfiles/ +# Obtained from https://www.cybercom.net/~dcoffin/hbpl/ +PATCH_SITES= LOCAL/tijl +PATCHFILES= hbpl1-20160830.patch.xz:-p1 + MAINTAINER= ports@FreeBSD.org COMMENT= Driver for printers that use the ZjStream wire protocol LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libcups.so:print/cups RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:print/foomatic-db \ foomatic-rip:print/cups-filters \ gsed:textproc/gsed -PROJECTHOST= bsdistfiles USES= ghostscript gmake shebangfix SHEBANG_FILES= msexpand printer-profile.sh SUB_FILES= pkg-message ${DEVDCONF_FILE} EXTRAFILES= msexpand getweb DEVDCONF_FILE= ${PORTNAME}.conf MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile post-install: cd ${WRKSRC} && \ ${INSTALL_SCRIPT} ${EXTRAFILES} ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}/etc/devd cd ${WRKDIR} && \ ${INSTALL_SCRIPT} ${DEVDCONF_FILE} ${STAGEDIR}${PREFIX}/etc/devd @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/foo2zjs-icc2ps post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for FILE in ChangeLog INSTALL README manual.pdf ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/print/foo2zjs/distinfo =================================================================== --- head/print/foo2zjs/distinfo (revision 431319) +++ head/print/foo2zjs/distinfo (revision 431320) @@ -1,3 +1,5 @@ TIMESTAMP = 1481811015 SHA256 (foo2zjs-20161203.tar.gz) = 8608c9adfc86dc4ea721f234b0f3fcbe8d0393aea953d69e7f706a3dec3c9514 SIZE (foo2zjs-20161203.tar.gz) = 1791101 +SHA256 (hbpl1-20160830.patch.xz) = e4584029ff71d405a1723332220842a02a0682fd6d43a4690d12e3ce341ae6a7 +SIZE (hbpl1-20160830.patch.xz) = 20472 Index: head/print/foo2zjs/files/patch-getweb.in =================================================================== --- head/print/foo2zjs/files/patch-getweb.in (revision 431319) +++ head/print/foo2zjs/files/patch-getweb.in (revision 431320) @@ -1,65 +1,65 @@ --- getweb.in.orig 2013-12-26 01:00:11.000000000 +0400 +++ getweb.in 2014-03-31 13:16:43.001753482 +0400 @@ -11,7 +11,7 @@ VERSION='$Id: getweb.in,v 1.112 2013/12/25 21:00:11 rick Exp $' -WGETOPTS="--passive-ftp -q" -+FETCHOPTS="-p -m -o" ++FETCHOPTS="-p -m" usage() { cat <