1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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)
This commit is contained in:
Mark Linimon 2003-12-21 09:27:26 +00:00
parent 4f60845a8b
commit 9e2e388599
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=96304

View File

@ -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>