diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2003-07-21 14:28:32 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2003-07-21 14:28:32 +0000 |
commit | f334b33c50a3f4e936d6a1f48b6a3c83bfb2e24d (patch) | |
tree | da3beac8220875ea74b8fcc88f908ecfd54dd5f6 /print/cups-base/Makefile | |
parent | 568128bcfeb180b70fd057818d29f1d0abb24a71 (diff) |
Notes
Diffstat (limited to 'print/cups-base/Makefile')
-rw-r--r-- | print/cups-base/Makefile | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index fccff4cdf16d..e6a4aa2a9bc1 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -17,26 +17,37 @@ MASTER_SITES= ${CUPS_MASTER_SITES} MAINTAINER= ports@FreeBSD.org COMMENT= The Common UNIX Printing System: headers, libs, & daemons +USE_REINPLACE= yes INSTALLS_SHLIB= 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 + pre-install: - -@${ECHO_CMD} "===>" Stopping cupsd ... - -killall cupsd || true - -rm -fr ${PREFIX}/etc/cups/certs/* || true + @${ECHO_MSG} "===>" Stopping cupsd ... + -killall cupsd || ${TRUE} + ${RM} -fr ${PREFIX}/etc/cups/certs/* || ${TRUE} post-install: + ${MKDIR} ${CUPS_ETCDIR} +.for f in classes.conf client.conf cupsd.conf printers.conf + ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${CUPS_ETCDIR}/${f}.N + cd ${CUPS_ETCDIR}; if test ! -f ${f}; then ${CP} -p ${f}.N ${f}; fi +.endfor # classes.conf client.conf cupsd.conf printers.conf +.for f in mime.convs mime.types + ${INSTALL_DATA} ${WRKSRC}/conf/${f} ${CUPS_ETCDIR}/${f} +.endfor # mime.convs mime.types cd ${CUPS_RCDIR}; ${MV} cups cups.sh.sample ${FIND} ${PREFIX}/man/cat* -type l -name '*.0' -delete ${FIND} ${PREFIX}/man/fr/cat* -type l -name '*.0' -delete ${MKDIR} ${CUPS_SPOOLDIR} ${CUPS_SPOOLDIR}/tmp ${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR} ${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 - -MANLANG= "" fr .include "${.CURDIR}/../../print/cups/Makefile.common" .include <bsd.port.pre.mk> |