aboutsummaryrefslogtreecommitdiffstats
path: root/print/cups-base
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-02-03 20:58:33 +0800
committerdinoex <dinoex@FreeBSD.org>2009-02-03 20:58:33 +0800
commit761ca64e828568e9624bd6f2e8fb7777ac8a9771 (patch)
treec1578f7a39782b19d704b69f005f4a2bc9037ef4 /print/cups-base
parent303723d9ee0b171c420c57e9a2f5b562489c16fa (diff)
downloadfreebsd-ports-gnome-761ca64e828568e9624bd6f2e8fb7777ac8a9771.tar.gz
freebsd-ports-gnome-761ca64e828568e9624bd6f2e8fb7777ac8a9771.tar.zst
freebsd-ports-gnome-761ca64e828568e9624bd6f2e8fb7777ac8a9771.zip
- add option WITH_GVFS_OPEN
Diffstat (limited to 'print/cups-base')
-rw-r--r--print/cups-base/Makefile12
-rw-r--r--print/cups-base/pkg-descr3
2 files changed, 13 insertions, 2 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index de566865453f..86878a99f4e2 100644
--- a/print/cups-base/Makefile
+++ b/print/cups-base/Makefile
@@ -51,7 +51,8 @@ OPTIONS= GNUTLS "Build with GNUTLS library" on \
PAM "Build with PAM support" off \
LDAP "Build with LDAP support" off \
DBUS "Build with DBUS support" off \
- XDG_OPEN "Build with XDG_OPEN support" off
+ XDG_OPEN "Build with XDG_OPEN as browser" off \
+ GVFS_OPEN "Build with GVFS_OPEN as browser" off
CUPS_ETCDIR= ${PREFIX}/etc/cups
CUPS_SPOOLDIR= /var/spool/cups
@@ -132,7 +133,11 @@ CONFIGURE_ARGS+= --disable-dbus
.endif
.if defined(WITH_XDG_OPEN)
-RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
+RUN_DEPENDS+= xdg-open:${PORTSDIR}/devel/xdg-utils
+.endif
+
+.if defined(WITH_GVFS_OPEN)
+RUN_DEPENDS+= gvfs-open:${PORTSDIR}/devel/gvfs
.endif
MAN1EXT= 1
@@ -190,6 +195,9 @@ post-configure:
.endif
post-patch:
+.if defined(WITH_GVFS_OPEN)
+ @${REINPLACE_CMD} -e 's|htmlview|gvfs-open|' ${WRKSRC}/desktop/cups.desktop
+.endif
.if defined(WITH_XDG_OPEN)
@${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop
.endif
diff --git a/print/cups-base/pkg-descr b/print/cups-base/pkg-descr
index 0d4fa7369425..8c646403b08e 100644
--- a/print/cups-base/pkg-descr
+++ b/print/cups-base/pkg-descr
@@ -17,5 +17,8 @@ non-PostScript printers. Sample drivers for HP and EPSON printers are included
that use these filters. This software is available in the cups-pstoraster
port.
+LICENSE: GPL2 only with exception to link with OpenSSL
+LICENSE: LGPL2 only with exception to link with OpenSSL (inlcudes, librarys)
+
WWW: http://www.cups.org/
[original text by greid@ukug.uk.freebsd.org]