45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2009/02/18 14:06:45 sthen Exp $
|
|
|
|
COMMENT= driver for ZjStream wire protocol compatible printers
|
|
|
|
VERSION= 20071102
|
|
DISTNAME= foo2zjs-${VERSION}
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= http://foo2hp.rkkda.com/
|
|
|
|
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB= c
|
|
|
|
MASTER_SITES= http://bigio.snb.it/openbsd/distfiles/ \
|
|
http://openbsd.dead-parrot.de/distfiles/ \
|
|
http://spacehopper.org/mirrors/ \
|
|
http://meta-planets.net/~openbsd/ \
|
|
http://www.phxbsd.com/OpenBSD/distfiles/
|
|
|
|
USE_GMAKE= Yes
|
|
WRKDIST= ${WRKDIR}/foo2zjs
|
|
|
|
BUILD_DEPENDS= ::print/ghostscript/gnu # ps2pdf
|
|
RUN_DEPENDS= ::print/ghostscript/gnu
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
pre-configure:
|
|
@perl -pi -e 's,/usr/bin,${PREFIX}/bin,g' \
|
|
${WRKSRC}/*.1in
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/foo2zjs/{firmware,icm}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/{getweb,msexpand} \
|
|
${PREFIX}/share/doc/foo2zjs
|
|
|
|
.include <bsd.port.mk>
|