aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-03-17 00:27:36 +0800
committervs <vs@FreeBSD.org>2006-03-17 00:27:36 +0800
commit3c3a6625d082b07bafa1d724738e8733c5b53cb1 (patch)
tree5a4a762163a22fd49246463a349728139544145e /graphics
parent64705b50cb9536d2ab02df25bdcb6906da880eb7 (diff)
downloadfreebsd-ports-gnome-3c3a6625d082b07bafa1d724738e8733c5b53cb1.tar.gz
freebsd-ports-gnome-3c3a6625d082b07bafa1d724738e8733c5b53cb1.tar.zst
freebsd-ports-gnome-3c3a6625d082b07bafa1d724738e8733c5b53cb1.zip
Enable hpoj-backend for 'sane' on installation.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/hpoj/Makefile1
-rw-r--r--graphics/hpoj/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/graphics/hpoj/Makefile b/graphics/hpoj/Makefile
index 865c560f9fd8..dbc5ff652d3b 100644
--- a/graphics/hpoj/Makefile
+++ b/graphics/hpoj/Makefile
@@ -110,6 +110,7 @@ post-install:
@${INSTALL_PROGRAM} ${WRKSRC}/apps/xojpanel/xojpanel ${X11BASE}/bin
.endif
@${MV} ${PREFIX}/etc/rc.d/ptal-init.sh ${PREFIX}/etc/rc.d/020.ptal-init.sh.sample
+ @${ECHO_CMD} >>${PREFIX}/etc/sane.d/dll.conf hpoj
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGDIR}/pkg-message
.include <bsd.port.post.mk>
diff --git a/graphics/hpoj/pkg-plist b/graphics/hpoj/pkg-plist
index 5acb7d64f741..3c3ce6b77f24 100644
--- a/graphics/hpoj/pkg-plist
+++ b/graphics/hpoj/pkg-plist
@@ -53,3 +53,4 @@ etc/rc.d/020.ptal-init.sh.sample
%%PORTDOCS%%@dirrm share/doc/hpoj
%%X11%%@cwd %%X11BASE%%
%%X11%%bin/xojpanel
+@exec /bin/echo >>%D/etc/sane.d/dll.conf hpoj