aboutsummaryrefslogtreecommitdiff
path: root/print/cups-base
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2007-03-25 08:50:50 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2007-03-25 08:50:50 +0000
commit6f4686a9ca2dae3b65fda5c8aef3fce2562ada01 (patch)
tree1b63557b46d380402449cf8638cad0bd7b8457ac /print/cups-base
parent52d2f173bbe4193763edb62cb09ae587fdf5159b (diff)
downloadports-6f4686a9ca2dae3b65fda5c8aef3fce2562ada01.tar.gz
ports-6f4686a9ca2dae3b65fda5c8aef3fce2562ada01.zip
Notes
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile5
-rw-r--r--print/cups-base/distinfo6
-rw-r--r--print/cups-base/pkg-plist9
3 files changed, 13 insertions, 7 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index b4952e71ae62..4fed545e4eb6 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cups
-PORTVERSION= 1.2.8
+PORTVERSION= 1.2.10
DISTVERSIONSUFFIX= -source
PORTREVISION= 0
CATEGORIES= print
@@ -73,7 +73,6 @@ CONFIGURE_ARGS+= --with-php
USE_PHP= yes
USE_PHP_BUILD= yes
PLIST_SUB+= PHP=""
-.include "${PORTSDIR}/Mk/bsd.php.mk"
.else
CONFIGURE_ARGS+= --without-php
PLIST_SUB+= PHP="@comment "
@@ -160,5 +159,7 @@ post-install:
${INSTALL} -d ${CUPS_SPOOLDIR}/tmp/
${CHOWN} -R ${CUPSOWN}:${CUPSGRP} ${CUPS_SPOOLDIR}/
${CHMOD} -R g+w ${CUPS_SPOOLDIR}/
+ ${INSTALL} -d /var/cache/cups/
+ ${CHOWN} root:${CUPSGRP} /var/cache/cups/
.include <bsd.port.post.mk>
diff --git a/print/cups-base/distinfo b/print/cups-base/distinfo
index fd0a9d9df27c..1022e50b6175 100644
--- a/print/cups-base/distinfo
+++ b/print/cups-base/distinfo
@@ -1,3 +1,3 @@
-MD5 (cups-1.2.8-source.tar.bz2) = d2cc0604113d5300b7b3e823b660d04a
-SHA256 (cups-1.2.8-source.tar.bz2) = 1fea71cc90dcb18fcc86f59821b91b6f78bb623ddb5998e17293b67d9dc67e16
-SIZE (cups-1.2.8-source.tar.bz2) = 3632509
+MD5 (cups-1.2.10-source.tar.bz2) = aad696a480b618e61bc7dab11623d3ac
+SHA256 (cups-1.2.10-source.tar.bz2) = 601b3b9256c55361477427c3e8db56c9ee4e141762814aea590bcf110a95bb36
+SIZE (cups-1.2.10-source.tar.bz2) = 3618084
diff --git a/print/cups-base/pkg-plist b/print/cups-base/pkg-plist
index f31a8da3fd1f..f6186584abf3 100644
--- a/print/cups-base/pkg-plist
+++ b/print/cups-base/pkg-plist
@@ -1,5 +1,9 @@
@exec mkdir -p /var/spool/cups/tmp || true
@exec chown -R root:daemon /var/spool/cups
+@exec mkdir -p /var/cache/cups || true
+@exec chown root:cups /var/cache/cups
+@exec mkdir -p /var/log/cups || true
+@exec chown cups:daemon /var/log/cups
@exec mkdir %D/etc/cups/ppd || true
@exec mkdir %D/etc/cups/interfaces || true
@unexec rm -rf /var/spool/cups 2>/dev/null || true
@@ -17,6 +21,7 @@ etc/cups/mime.convs.N
@unexec if cmp -s %D/etc/cups/mime.types.N %D/etc/cups/mime.types; then rm -f %D/etc/cups/mime.types; fi
etc/cups/mime.types.N
@exec if test ! -f %D/etc/cups/mime.types; then cp -p %D/etc/cups/mime.types.N %D/etc/cups/mime.types; fi
+@exec chgrp cups %D/etc/cups
bin/cupstestdsc
bin/lp
bin/cancel
@@ -1352,7 +1357,7 @@ sbin/lpmove
@dirrm %%DATADIR%%/templates/pl
@dirrm %%DATADIR%%/templates/sv
@dirrm %%DATADIR%%/templates
-@exec mkdir -p %%DATADIR%%/profiles
+@exec mkdir -p %D%%DATADIR%%/profiles
@dirrm %%DATADIR%%/profiles
@dirrmtry %%DATADIR%%/model
@dirrm %%DATADIR%%/fonts
@@ -1364,7 +1369,7 @@ sbin/lpmove
@dirrm libexec/cups/notifier
@dirrm libexec/cups/monitor
@dirrmtry libexec/cups/filter
-@exec mkdir -p libexec/cups/driver
+@exec mkdir -p %Dlibexec/cups/driver
@dirrm libexec/cups/driver
@dirrm libexec/cups/daemon
@dirrm libexec/cups/cgi-bin