4b20f10627
- Build with GNUTLS isntead of OpenSSL by default to fix FireFox issues - Fixed man languages - Change maintainer e-mail - Pass maintainership of print/cups to submitter PR: ports/76337 Submitted by: Sergey Akifyev <asa(at)agava.com> (maintainer of cups-base and cups-lpr)
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# 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@agava.com
|
|
COMMENT= The CUPS BSD and system V compatibility binaries (lp* commands)
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
MANLANG= "" es fr
|
|
|
|
.ifndef CUPS_OVERWRITE_BASE
|
|
PKGINSTALL= nonexistent
|
|
PKGDEINSTALL= nonexistent
|
|
PKGMESSAGE= nonexistent
|
|
.endif
|
|
|
|
pre-everything::
|
|
.ifndef CUPS_OVERWRITE_BASE
|
|
@${ECHO_MSG} "***"
|
|
@${ECHO_MSG} "You can define CUPS_OVERWRITE_BASE=yes in your"
|
|
@${ECHO_MSG} "make.conf to remove base system lpr tools from"
|
|
@${ECHO_MSG} "PATH search. In this case it is recommended to"
|
|
@${ECHO_MSG} "also define NO_LPR=yes, to not write base lpr"
|
|
@${ECHO_MSG} "binaries during next make world"
|
|
@${ECHO_MSG} "***"
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/SILENT/d' \
|
|
${WRKSRC}/Makedefs.in
|
|
@${REINPLACE_CMD} -e '/LN/d' -e '/cat/d' \
|
|
${WRKSRC}/man/Makefile ${WRKSRC}/man/es/Makefile
|
|
@${REINPLACE_CMD} -e '/LN/d' -e '/cat/d' \
|
|
${WRKSRC}/man/Makefile ${WRKSRC}/man/fr/Makefile
|
|
|
|
post-install:
|
|
${FIND} ${PREFIX}/man/cat* -type l -name '*.0' -delete
|
|
.ifdef CUPS_OVERWRITE_BASE
|
|
${SH} ${PKGINSTALL} placeholder POST-INSTALL
|
|
@${CAT} ${PKGMESSAGE}
|
|
.endif
|
|
|
|
.include "${.CURDIR}/../../print/cups/Makefile.common"
|
|
.include <bsd.port.pre.mk>
|
|
.include "${FILESDIR}/manpages.mk"
|
|
.include <bsd.port.post.mk>
|