46 lines
1.0 KiB
Makefile
46 lines
1.0 KiB
Makefile
# $OpenBSD: Makefile,v 1.9 2010/03/21 10:14:50 ajacoutot Exp $
|
|
|
|
COMMENT= driver for ZjStream wire protocol compatible printers
|
|
|
|
VERSION= 20090623
|
|
DISTNAME= foo2zjs-${VERSION}
|
|
PKGNAME= ${DISTNAME}p2
|
|
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://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/foomatic-filters
|
|
|
|
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>
|