summaryrefslogtreecommitdiff
path: root/print/foomatic-gswrapper/Makefile
blob: 6809999fae5d5c1e7352f02bf461f78fb735aa4d (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.14 2005/07/16 01:19:18 jlam 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=		# defined

REPLACE_PERL=	${DISTNAME}

INSTALLATION_DIRS=	bin

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

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