aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2006-03-20 15:37:26 +0800
committervs <vs@FreeBSD.org>2006-03-20 15:37:26 +0800
commitad51e31fade7346dc770be2fb0c0495943467ea7 (patch)
treec678bccd8bf0553e344b5f25f4ad2ce9e70756db /graphics
parent3ef49de3b77c448fd61246fc940fc3eb33adcfc5 (diff)
downloadfreebsd-ports-gnome-ad51e31fade7346dc770be2fb0c0495943467ea7.tar.gz
freebsd-ports-gnome-ad51e31fade7346dc770be2fb0c0495943467ea7.tar.zst
freebsd-ports-gnome-ad51e31fade7346dc770be2fb0c0495943467ea7.zip
Fix cleanup of SANE's dll.conf which I botched in the previous update and
handle another missed link when installing from package.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/hpoj/Makefile1
-rw-r--r--graphics/hpoj/pkg-plist2
2 files changed, 2 insertions, 1 deletions
diff --git a/graphics/hpoj/Makefile b/graphics/hpoj/Makefile
index dbc5ff652d3b..865c560f9fd8 100644
--- a/graphics/hpoj/Makefile
+++ b/graphics/hpoj/Makefile
@@ -110,7 +110,6 @@ 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 3c3ce6b77f24..66106775cf48 100644
--- a/graphics/hpoj/pkg-plist
+++ b/graphics/hpoj/pkg-plist
@@ -16,6 +16,7 @@ lib/libptal.so
lib/libptal.so.0
lib/libsane-hpoj.so
lib/libsane-hpoj.so.1
+lib/sane/libsane-hpoj.so.1
include/hpojip.h
include/ptal.h
etc/rc.d/020.ptal-init.sh.sample
@@ -54,3 +55,4 @@ etc/rc.d/020.ptal-init.sh.sample
%%X11%%@cwd %%X11BASE%%
%%X11%%bin/xojpanel
@exec /bin/echo >>%D/etc/sane.d/dll.conf hpoj
+@unexec /usr/bin/sed -i '' -e '/^hpoj$/d' %D/etc/sane.d/dll.conf