aboutsummaryrefslogtreecommitdiffstats
path: root/print/foomatic-db-hpijs/Makefile
blob: 214a34c7bb3d96ad96d4a4188372e2438375a81e (plain) (blame)
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
# Created by: Michael Nottebrock <lofi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   foomatic-db-hpijs
PORTVERSION=    1.4
CATEGORIES= print
MASTER_SITES=   ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=lofi
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1

MAINTAINER= ports@FreeBSD.org
COMMENT=    Foomatic data for the HPIJS printer drivers

BUILD_DEPENDS=  ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db
RUN_DEPENDS=    ${LOCALBASE}/share/foomatic/db/oldprinterids:${PORTSDIR}/print/foomatic-db

GNU_CONFIGURE=  yes
USES=       gmake perl5
USE_PERL5=  build

post-patch:
    ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
             -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/configure

.include <bsd.port.mk>