aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2008-04-10 12:20:33 +0800
committerdinoex <dinoex@FreeBSD.org>2008-04-10 12:20:33 +0800
commitb00fabbccc7f0ff57d7f5cdf12d97156cfa2db50 (patch)
tree6ba459206c05bf3404a5842d9c19085a21ba05d5 /print
parentbbac2599e3c4e0d7bd9f0268a7b5de208ce23901 (diff)
downloadfreebsd-ports-graphics-b00fabbccc7f0ff57d7f5cdf12d97156cfa2db50.tar.gz
freebsd-ports-graphics-b00fabbccc7f0ff57d7f5cdf12d97156cfa2db50.tar.zst
freebsd-ports-graphics-b00fabbccc7f0ff57d7f5cdf12d97156cfa2db50.zip
- Add depends on devel/xdg-utils
- use 'xdg-open http://localhost:631/' in the cups.desktop file. PR: 122590 Submitted by: Michael Johnson
Diffstat (limited to 'print')
-rw-r--r--print/cups-base/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/print/cups-base/Makefile b/print/cups-base/Makefile
index 0cec9561aee..ad36a533748 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*