aboutsummaryrefslogtreecommitdiff
path: root/print/cups-lpr/Makefile
blob: b453e2ca8cefc233c98d0fa3eff7e7cafa945434 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# ex:ts=8	-*-mode: makefile-*-
#
# New ports collection makefile for:	cups
# Date created:		2003-01-22
# Whom:			Alan Eldridge <alane@geeksrus.net>
#
# $FreeBSD$
#

PORTNAME=	cups-lpr
PORTVERSION=	${CUPS_PORTVER}
PORTREVISION=	${CUPS_PORTREV}
PORTEPOCH=	${CUPS_PORTEPOCH}
CATEGORIES=	print
MASTER_SITES=	${CUPS_MASTER_SITES}

MAINTAINER=	asa@gascom.ru
COMMENT=	The CUPS BSD and system V compatibility binaries (lp* commands)

USE_REINPLACE=	yes

MANLANG=	"" fr

post-patch:
	@${REINPLACE_CMD} -e '/SILENT/d' \
		${WRKSRC}/Makedefs.in
	@${REINPLACE_CMD} -e '/LN/d' \
		${WRKSRC}/man/Makefile ${WRKSRC}/man/fr/Makefile

post-install:
	${FIND} ${PREFIX}/man/cat* -type l -name '*.0' -delete
	${FIND} ${PREFIX}/man/fr/cat* -type l -name '*.0' -delete
	${SH} ${PKGINSTALL} placeholder POST-INSTALL
	@${CAT} ${PKGMESSAGE}

.include "${.CURDIR}/../../print/cups/Makefile.common"
.include <bsd.port.pre.mk>
.include "${FILESDIR}/manpages.mk"
.include <bsd.port.post.mk>