summaryrefslogtreecommitdiff
path: root/print/cups-base
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2004-11-15 04:24:32 +0000
committerDoug Barton <dougb@FreeBSD.org>2004-11-15 04:24:32 +0000
commit60171985c36cd89f6f500919165c0643ed80fbaa (patch)
treef33634eb90433e00560bb7b60a9adae8e05ece0f /print/cups-base
parentUpdate the version of espgs to the latest, 7.07.1. (diff)
Update to 1.1.22, which was released on 29 October and is the
latest version. While I'm here, make pkg-message print the actual prefix when the port is installed, and a nicer message for package installs. This version of the software also includes 'es' man pages to go with the 'fr' ones.
Notes
Notes: svn path=/head/; revision=121635
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile5
-rw-r--r--print/cups-base/pkg-message4
2 files changed, 5 insertions, 4 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 013fa55814e8..0c6d23c176e2 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -9,7 +9,6 @@
PORTNAME= cups-base
PORTVERSION= ${CUPS_PORTVER}
-PORTREVISION= 1
PORTREVISION= ${CUPS_PORTREV}
PORTEPOCH= ${CUPS_PORTEPOCH}
CATEGORIES= print
@@ -27,6 +26,8 @@ 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
@${REINPLACE_CMD} -e 's|/etc/cups|/usr/local/etc/cups|g' \
${WRKSRC}/man/*.man
@@ -49,7 +50,7 @@ post-install:
${MKDIR} ${CUPS_SPOOLDIR} ${CUPS_SPOOLDIR}/tmp
${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR}
${CHMOD} -R g+w ${CUPS_SPOOLDIR}
- @${CAT} ${PKGMESSAGE}
+ @${SED} -e 's#PREFIX#${PREFIX}#' ${PKGMESSAGE}
.include "${.CURDIR}/../../print/cups/Makefile.common"
.include <bsd.port.pre.mk>
diff --git a/print/cups-base/pkg-message b/print/cups-base/pkg-message
index 6a5db01f7f4d..69d111549eca 100644
--- a/print/cups-base/pkg-message
+++ b/print/cups-base/pkg-message
@@ -2,9 +2,9 @@
CUPS is now installed.
-Please read the documentation in %%PREFIX%%/share/doc/cups/ for information
+Please read the documentation in PREFIX/share/doc/cups/ for information
on how to set up your printer to use CUPS. Basic template configuration files
-have been installed in %%PREFIX%%/etc/cups/
+have been installed in PREFIX/etc/cups/
To install the BSD and System V compatibility binaries look to the port
print/cups-lpr. These are no longer installed as part of the base cups port