# New ports collection makefile for: foo2zjs # Date created: 2006-03-17 # Whom: Jose Alonso Cardenas Marquez # # $FreeBSD$ # PORTNAME= foo2zjs PORTVERSION= 20061010 CATEGORIES= print MASTER_SITES= http://foo2zjs.rkkda.com/ DISTNAME= ${PORTNAME} MAINTAINER= acm@FreeBSD.org COMMENT= Driver for printers that use the ZjStream wire protocol LIB_DEPENDS= cups.2:${PORTSDIR}/print/cups-base RUN_DEPENDS= ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db \ foomatic-rip:${PORTSDIR}/print/foomatic-filters \ espgs:${PORTSDIR}/print/cups-pstoraster USE_GHOSTSCRIPT= yes USE_GMAKE= yes SUB_FILES= pkg-message MAN1= foo2hp.1 foo2oak-wrapper.1 foo2zjs-wrapper.1 oakdecode.1 foo2hp2600-wrapper.1 foo2oak.1 foo2zjs.1 zjsdecode.1 EXTRAFILES= msexpand getweb post-patch: @${REINPLACE_CMD} -e 's|^CFLAGS|CFLAGS?|g' -e 's|^PREFIX|PREFIX?|g' ${WRKSRC}/icc2ps/Makefile post-install: @cd ${WRKSRC} && \ ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1/ && \ ${INSTALL_SCRIPT} ${EXTRAFILES} ${PREFIX}/bin/ .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for FILE in ChangeLog README manual.pdf ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} .endfor .endif @${CAT} ${PKGMESSAGE} .include