2003-01-22 13:54:55 +00:00
|
|
|
# ex:ts=8 -*-mode: makefile-*-
|
|
|
|
#
|
|
|
|
# New ports collection makefile for: cups
|
|
|
|
# Date created: 2003-01-22
|
|
|
|
# Whom: Alan Eldridge <alane@geeksrus.net>
|
2001-01-07 00:52:07 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2001-12-04 01:10:42 +00:00
|
|
|
PORTNAME= cups-base
|
2002-07-02 10:08:17 +00:00
|
|
|
PORTVERSION= ${CUPS_PORTVER}
|
2003-01-25 07:20:52 +00:00
|
|
|
PORTREVISION= ${CUPS_PORTREV}
|
2003-01-22 13:54:55 +00:00
|
|
|
PORTEPOCH= ${CUPS_PORTEPOCH}
|
|
|
|
CATEGORIES= print
|
|
|
|
MASTER_SITES= ${CUPS_MASTER_SITES}
|
2002-07-02 10:08:17 +00:00
|
|
|
|
2002-11-01 13:09:32 +00:00
|
|
|
MAINTAINER= alane@FreeBSD.org
|
2001-01-10 17:07:59 +00:00
|
|
|
|
2003-02-07 04:50:53 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2003-01-23 22:16:07 +00:00
|
|
|
pre-install:
|
|
|
|
-@${ECHO_CMD} "===>" Stopping cupsd ...
|
|
|
|
-killall cupsd || true
|
|
|
|
-rm -fr ${PREFIX}/etc/cups/certs/* || true
|
|
|
|
|
2001-01-10 17:07:59 +00:00
|
|
|
post-install:
|
2003-01-23 22:16:07 +00:00
|
|
|
cd ${CUPS_RCDIR}; ${MV} cups cups.sh.sample
|
2003-01-22 13:54:55 +00:00
|
|
|
${FIND} ${PREFIX}/man/cat* -type l -name '*.0' -delete
|
|
|
|
${FIND} ${PREFIX}/man/fr/cat* -type l -name '*.0' -delete
|
2003-01-23 22:16:07 +00:00
|
|
|
${MKDIR} ${CUPS_SPOOLDIR} ${CUPS_SPOOLDIR}/tmp
|
2003-01-22 13:54:55 +00:00
|
|
|
${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR}
|
2003-01-23 22:16:07 +00:00
|
|
|
${CHMOD} -R g+w ${CUPS_SPOOLDIR}
|
|
|
|
.for f in classes.conf client.conf cupsd.conf printers.conf
|
|
|
|
cd ${CUPS_ETCDIR};\
|
|
|
|
if test ! -f ${f}.N; then cp -p ${f} ${f}.N; else true; fi
|
|
|
|
.endfor # classes.conf client.conf cupsd.conf printers.conf
|
2003-01-22 13:54:55 +00:00
|
|
|
|
2003-02-02 22:21:07 +00:00
|
|
|
MANLANG= "" fr
|
|
|
|
|
2003-01-22 13:54:55 +00:00
|
|
|
.include "${.CURDIR}/../../print/cups/Makefile.common"
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.include "${FILESDIR}/manpages.mk"
|
|
|
|
.include <bsd.port.post.mk>
|
2001-01-07 00:52:07 +00:00
|
|
|
|
2003-01-22 13:54:55 +00:00
|
|
|
#EOF
|