summaryrefslogtreecommitdiff
path: root/print/hpijs/Makefile
blob: 72bf0dd600d7cabfc5f6f88e559770106b2eddf0 (plain)
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
# $NetBSD: Makefile,v 1.10 2004/02/22 17:34:49 jdolecek Exp $

DISTNAME=	hpijs-1.5
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=hpinkjet/}

MAINTAINER=	jlam@NetBSD.org
HOMEPAGE=	http://hpinkjet.sourceforge.net/
COMMENT=	HP inkjet printer driver server

CONFLICTS=	ghostscript<=6.0.1nb4 ghostscript-nox11<=6.0.1nb4

USE_BUILDLINK2=		# defined
GNU_CONFIGURE=		# defined
CPPFLAGS+=		-DAPDK_BUFFER_SEND

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "SunOS"
USE_PKGSRC_GCC=		# defined
.endif

do-install:
	${INSTALL_DATA_DIR} ${LOCALBASE}/share/ppd
	${INSTALL_DATA_DIR} ${LOCALBASE}/share/doc/html/hpijs
	cd ${WRKSRC} && ${CP} hpijs ${LOCALBASE}/bin/hpijs
	cd ${WRKSRC} && ${CP} hpijs_readme.html gs_hpijs.png \
		 ${LOCALBASE}/share/doc/html/hpijs/
	cd ${WRKSRC} && ${CP} ppd/HP* ${LOCALBASE}/share/ppd/
	${GZIP_CMD} ${LOCALBASE}/share/ppd/HP*.ppd

.include "../../mk/bsd.pkg.mk"