summaryrefslogtreecommitdiff
path: root/print/hpijs/Makefile
blob: 9feec357fcbf54860733ac2714b4fa000233851f (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
# $NetBSD: Makefile,v 1.17 2005/04/11 21:47:07 tv Exp $

DISTNAME=	hpijs-1.7.1
PKGREVISION=	# empty
CATEGORIES=	print
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=hpinkjet/}

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

CONFLICTS=	ghostscript<=6.01nb4 ghostscript-nox11<=6.01nb4

USE_LANGUAGES=		c c++
GNU_CONFIGURE=		# defined
CPPFLAGS+=		-DAPDK_BUFFER_SEND

ONLY_FOR_COMPILER=	gcc

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"