summaryrefslogtreecommitdiff
path: root/print/hpijs/Makefile
blob: 96c90f8389aecb9b6f357b91d1d3424df987550c (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
# $NetBSD: Makefile,v 1.25 2006/03/04 21:30:30 jlam Exp $

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

MAINTAINER=	pkgsrc-users@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=		yes
CPPFLAGS+=		-DAPDK_BUFFER_SEND

USE_TOOLS+=		gzip
ONLY_FOR_COMPILER=	gcc
INSTALLATION_DIRS=	bin

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

.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"