summaryrefslogtreecommitdiff
path: root/print/hpijs/Makefile
blob: c53a23c33884a4635c473063335042618f6a3185 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

PORTNAME=	hpijs
PORTVERSION=	2.1.4
PORTREVISION=	10
CATEGORIES=	print
MASTER_SITES=	SF/hpinkjet/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Drivers and support resources for HP Inkjet Printers

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

CONFLICTS=	hplip-[0-9]*

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--disable-cups-install
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
USES=		jpeg shebangfix
SHEBANG_FILES=	foomatic-rip

OPTIONS_DEFINE=	CUPS DOCS
OPTIONS_DEFAULT=CUPS
OPTIONS_SUB=	yes

CUPS_RUN_DEPENDS=	foomatic-rip:print/cups-filters
CUPS_USES_OFF=		ghostscript:run perl5

post-patch:
	@${REINPLACE_CMD} '/^docdir =/s|=.*|= ${DOCSDIR}|' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>