diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-10 04:20:33 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2008-04-10 04:20:33 +0000 |
commit | 552ebec20a7abc376a1cf3bf28e513b44dbee56e (patch) | |
tree | fe0d8da54e8cf85d88a813bf1d82c7e9cb683a71 /print | |
parent | - Update to 2.0.45 (diff) |
- Add depends on devel/xdg-utils
- use 'xdg-open http://localhost:631/' in the cups.desktop file.
PR: 122590
Submitted by: Michael Johnson
Notes
Notes:
svn path=/head/; revision=210974
Diffstat (limited to 'print')
-rw-r--r-- | print/cups-base/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile index 0cec9561aee8..ad36a533748e 100644 --- a/print/cups-base/Makefile +++ b/print/cups-base/Makefile @@ -7,6 +7,7 @@ PORTNAME= cups PORTVERSION= 1.3.7 +PORTREVISION= 1 DISTVERSIONSUFFIX= -source CATEGORIES= print MASTER_SITES= EASYSW/${PORTNAME}/${DISTVERSION} @@ -18,6 +19,7 @@ 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]* @@ -185,6 +187,7 @@ post-configure: .endif post-patch: + @${REINPLACE_CMD} -e 's|htmlview|xdg-open|' ${WRKSRC}/desktop/cups.desktop @${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* |