openbsd-ports/print/foo2zjs/Makefile

44 lines
860 B
Makefile
Raw Normal View History

2010-07-31 04:18:56 -04:00
# $OpenBSD: Makefile,v 1.14 2010/07/31 08:18:56 ajacoutot Exp $
COMMENT= driver for ZjStream wire protocol compatible printers
VERSION= 20100507
DISTNAME= foo2zjs-${VERSION}
2010-07-31 04:18:56 -04:00
REVISION= 1
CATEGORIES= print
HOMEPAGE= http://foo2hp.rkkda.com/
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c m
MASTER_SITES= http://www.bsdfrog.org/OpenBSD/distfiles/
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/foo2zjs
BUILD_DEPENDS= ::print/ghostscript/gnu # ps2pdf
RUN_DEPENDS= ::print/foomatic-filters
NO_REGRESS= Yes
pre-configure:
@perl -pi -e 's,/usr/bin,${PREFIX}/bin,g' \
${WRKSRC}/*.1in
${SUBST_CMD} ${WRKSRC}/getweb.in
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/{getweb,msexpand} \
${PREFIX}/share/doc/foo2zjs
.include <bsd.port.mk>