aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2003-12-21 17:27:26 +0800
committerlinimon <linimon@FreeBSD.org>2003-12-21 17:27:26 +0800
commitd0441c576d5c68ab336147706848a9f4722b83d2 (patch)
tree07cfd1695f80e2f674d38eb56e1ec1b97a675748 /graphics
parent1a2073d037f8850e6bfdb82da1e193a302f83f4e (diff)
downloadfreebsd-ports-gnome-d0441c576d5c68ab336147706848a9f4722b83d2.tar.gz
freebsd-ports-gnome-d0441c576d5c68ab336147706848a9f4722b83d2.tar.zst
freebsd-ports-gnome-d0441c576d5c68ab336147706848a9f4722b83d2.zip
Patch ptal-cups to find bash; install start-script with prefix 020 so that
it starts before CUPS; bump portrevision. PR: ports/60355, ports/60451 Submitted by: John Merryweather Cooper <coop9211@adelphia.net>, Volker Stolz <vs@foldr.org> (maintainer)
Diffstat (limited to 'graphics')
-rw-r--r--graphics/hpoj/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/hpoj/Makefile b/graphics/hpoj/Makefile
index 6e960c7598b1..5f6c0eb6efd2 100644
--- a/graphics/hpoj/Makefile
+++ b/graphics/hpoj/Makefile
@@ -8,6 +8,7 @@
PORTNAME= hpoj
PORTVERSION= 0.91
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hpoj
@@ -82,7 +83,7 @@ post-patch:
@${REINPLACE_CMD} -e 's,/etc/ptal,${PREFIX}/etc/ptal,' ${WRKSRC}/${f}
.endfor
@${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},' ${WRKSRC}/scripts/ptal-init.in
- @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/scripts/ptal-init.in
+ @${REINPLACE_CMD} -e 's,/bin/bash,${LOCALBASE}/bin/bash,' ${WRKSRC}/scripts/ptal-init.in ${WRKSRC}/scripts/ptal-cups.in
.for f in lib/ptal lib/sane lib/hpojip
@${REINPLACE_CMD} -e 's,CFLAGS=-O,CFLAGS+= @CFLAGS@,' ${WRKSRC}/${f}/Makefile.in
.endfor
@@ -95,7 +96,7 @@ post-install:
.ifndef(WITHOUT_X11)
@${INSTALL_PROGRAM} ${WRKSRC}/apps/xojpanel/xojpanel ${X11BASE}/bin
.endif
- @${MV} ${PREFIX}/etc/rc.d/ptal-init.sh ${PREFIX}/etc/rc.d/ptal-init.sh.sample
+ @${MV} ${PREFIX}/etc/rc.d/ptal-init.sh ${PREFIX}/etc/rc.d/020.ptal-init.sh.sample
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message
.include <bsd.port.post.mk>