2013-04-15 03:33:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2013/04/15 07:33:11 ajacoutot Exp $
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
COMMENT= CUPS drivers for SPL printers
|
|
|
|
|
2013-04-15 03:33:11 -04:00
|
|
|
V= 2.0.0
|
|
|
|
SNV_REV= 308
|
|
|
|
DISTNAME= splix-${V}r${SNV_REV}
|
|
|
|
PKGNAME= splix-${V}.${SNV_REV}
|
2013-04-07 04:47:33 -04:00
|
|
|
|
|
|
|
CATEGORIES= print
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://splix.ap2c.org/
|
|
|
|
|
2010-03-21 06:14:50 -04:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
2009-03-17 14:37:20 -04:00
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-04-15 03:33:11 -04:00
|
|
|
WANTLIB += c cups cupsimage jbig85 m pthread stdc++
|
2009-04-10 07:59:06 -04:00
|
|
|
|
2013-04-15 03:33:11 -04:00
|
|
|
# snapshot of SVN at revision 308 pending new release
|
|
|
|
MASTER_SITES= http://www.zen103022.zen.co.uk/download/
|
|
|
|
#MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=splix/}
|
2009-03-17 14:37:20 -04:00
|
|
|
|
2012-08-04 10:57:28 -04:00
|
|
|
LIB_DEPENDS= print/cups,-libs \
|
2013-04-15 03:33:11 -04:00
|
|
|
graphics/jbigkit>=2.0
|
2012-08-04 10:57:28 -04:00
|
|
|
|
|
|
|
# gstoraster
|
2010-11-20 04:48:38 -05:00
|
|
|
RUN_DEPENDS= print/ghostscript/gnu
|
2009-03-17 14:37:20 -04:00
|
|
|
|
2012-08-04 10:57:28 -04:00
|
|
|
# package is only useful if cups is installed
|
|
|
|
RUN_DEPENDS += print/cups
|
|
|
|
|
2009-03-17 14:37:20 -04:00
|
|
|
USE_GMAKE= Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST= Yes
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
MAKE_FLAGS= V=1 \
|
|
|
|
MAKE=${MAKE_PROGRAM} \
|
|
|
|
CXX=${CXX} \
|
2012-08-04 10:57:28 -04:00
|
|
|
OPTIM_CXXFLAGS="${CXXFLAGS}" \
|
|
|
|
PSTORASTER=gstoraster
|
2009-03-17 14:37:20 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|