summaryrefslogtreecommitdiff
path: root/print/foomatic-gswrapper/Makefile
blob: b4fe414563894b66bd96a65fa98a43c102c754d3 (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
33
34
35
36
# $NetBSD: Makefile,v 1.15 2005/09/28 20:52:25 rillig Exp $

DISTNAME=	foomatic-gswrapper
PKGNAME=	foomatic-gswrapper-1.2
PKGREVISION=	2
CATEGORIES=	print
EXTRACT_SUFX=	# empty
MASTER_SITES=	${MASTER_SITE_LOCAL:=${PKGNAME_NOREV}/}

# The definitive location of the distfile is at www.linuxprinting.org,
# but this file has no revision number.
#
#MASTER_SITES+=	http://www.linuxprinting.org/

MAINTAINER=	jlam@NetBSD.org
HOMEPAGE=	http://www.linuxprinting.org/gswrapper.html
COMMENT=	Foomatic Ghostscript Wrapper

CONFLICTS+=	foomatic-filters-[0-9]

WRKSRC=		${WRKDIR}
DIST_SUBDIR=	${PKGNAME_NOREV}

EXTRACT_CMD=		${CP} ${DOWNLOADED_DISTFILE} ${WRKSRC}/${DISTNAME}
USE_TOOLS+=		perl:run
NO_BUILD=		yes

REPLACE_PERL=	${DISTNAME}

INSTALLATION_DIRS=	bin

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin

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