aboutsummaryrefslogtreecommitdiff
path: root/graphics/hpoj
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/hpoj
parent4f60845a8baf39543bac0bb4f848a2117143ee56 (diff)
downloadports-9e2e388599331af3a3eb67e3c817b3b53d14cabd.tar.gz
ports-9e2e388599331af3a3eb67e3c817b3b53d14cabd.zip
Notes
Diffstat (limited to 'graphics/hpoj')
-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>