summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2003-12-21 09:27:26 +0000
committerMark Linimon <linimon@FreeBSD.org>2003-12-21 09:27:26 +0000
commit9e2e388599331af3a3eb67e3c817b3b53d14cabd (patch)
treeebb1d458d0c041a4cec2e09cdc9088bd1eb7471c /graphics
parent- take maintainership (diff)
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)
Notes
Notes: svn path=/head/; revision=96304
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>