freebsd-ports/print/foo2zjs/Makefile
Edwin Groothuis 090059a210 Bump portrevision due to upgrade of devel/gettext.
The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@
Approved by:    portmgr (pav)
2008-06-06 14:17:21 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: foo2zjs
# Date created: 2006-03-17
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= foo2zjs
PORTVERSION= 20070120
PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= http://foo2zjs.rkkda.com/ \
${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,}
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 <bsd.port.mk>