diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-11 04:59:09 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-11 04:59:09 +0000 |
commit | f215d44982c3fca0f4bd8dea53092d83cd4db25c (patch) | |
tree | efd3d72ebc2a3cc0620f174a295e5fa2a11065a8 /print | |
parent | 1788778bb0f078d1e60ad1b9415fb9cffaeaf936 (diff) | |
download | ports-f215d44982c3fca0f4bd8dea53092d83cd4db25c.tar.gz ports-f215d44982c3fca0f4bd8dea53092d83cd4db25c.zip |
Notes
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-base/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index ad36a533748e..aaedba21a9d0 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -7,7 +7,7 @@ PORTNAME= cups PORTVERSION= 1.3.7 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONSUFFIX= -source CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} @@ -19,7 +19,6 @@ COMMENT= Common UNIX Printing System LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ png.5:${PORTSDIR}/graphics/png \ tiff.4:${PORTSDIR}/graphics/tiff -RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils CONFLICTS= LPRng-[0-9]* @@ -52,7 +51,8 @@ OPTIONS= GNUTLS "Build with GNUTLS library" on \ DNSSD "Build with DNS_SD (avahi) support" off \ PAM "Build with PAM support" off \ LDAP "Build with LDAP support" off \ - DBUS "Build with DBUS support" off + DBUS "Build with DBUS support" off \ + XDG_OPEN "Build with XDG_OPEN support" off CUPS_ETCDIR= ${PREFIX}/etc/cups CUPS_SPOOLDIR= /var/spool/cups @@ -132,6 +132,10 @@ CONFIGURE_ARGS+= --enable-dbus CONFIGURE_ARGS+= --disable-dbus .endif +.if defined(WITH_XDG_OPEN) +RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils +.endif + MAN1EXT= 1 MAN5EXT= 5 MAN7EXT= 7 @@ -187,7 +191,9 @@ post-configure: .endif post-patch: +.if defined(WITH_XDG_OPEN) @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop +.endif @${REINPLACE_CMD} -e '/SILENT/d' ${WRKSRC}/Makedefs.in @${REINPLACE_CMD} -e '/share/s|/usr/share|${PREFIX}/share|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|/etc/cups|/usr/local/etc/cups|g' ${WRKSRC}/man/*.man* |