diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-29 14:11:04 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-06-29 14:11:04 +0000 |
commit | 9daeefa22f1742efe61650d6c24ad2c43ba56c61 (patch) | |
tree | 65980b6a89e9391a826615cc0c86363fd7e2ca46 /sysutils/scanbuttond | |
parent | 23cf083e60a5c56e58451f73a33fcbfdeac8c464 (diff) | |
download | ports-9daeefa22f1742efe61650d6c24ad2c43ba56c61.tar.gz ports-9daeefa22f1742efe61650d6c24ad2c43ba56c61.zip |
Notes
Diffstat (limited to 'sysutils/scanbuttond')
-rw-r--r-- | sysutils/scanbuttond/Makefile | 13 | ||||
-rw-r--r-- | sysutils/scanbuttond/pkg-plist | 28 |
2 files changed, 14 insertions, 27 deletions
diff --git a/sysutils/scanbuttond/Makefile b/sysutils/scanbuttond/Makefile index d013ccab68ad..24a4886f86dd 100644 --- a/sysutils/scanbuttond/Makefile +++ b/sysutils/scanbuttond/Makefile @@ -3,7 +3,7 @@ PORTNAME= scanbuttond PORTVERSION= 0.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MASTER_SITES= SF @@ -12,14 +12,15 @@ COMMENT= Daemon to monitor and configure modern scanner's buttons LICENSE= GPLv2 +USES= libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes +INSTALL_TARGET= install-strip SUB_FILES+= pkg-message -NO_STAGE= yes pre-configure: @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ ${REINPLACE_CMD} -e 's|-ldl||g' @@ -34,12 +35,4 @@ pre-install: ${REINPLACE_CMD} -e 's|meta\.conf|meta.conf.sample|g' ${WRKSRC}/backends/Makefile ; \ fi -post-install: - @for na in buttonpressed.sh initscanner.sh meta.conf; do \ - if [ ! -f ${ETCDIR}/$$na ]; then \ - ${CP} -p ${ETCDIR}/$$na.sample ${ETCDIR}/$$na; \ - fi; \ - done - @${CAT} ${PKGMESSAGE} - .include <bsd.port.mk> diff --git a/sysutils/scanbuttond/pkg-plist b/sysutils/scanbuttond/pkg-plist index 1815177991bd..d7720763a16c 100644 --- a/sysutils/scanbuttond/pkg-plist +++ b/sysutils/scanbuttond/pkg-plist @@ -1,35 +1,29 @@ bin/scanbuttond -@unexec if cmp -s %D/etc/scanbuttond/buttonpressed.sh.sample %D/etc/scanbuttond/buttonpressed.sh; then rm -f %D/etc/scanbuttond/buttonpressed.sh; fi -etc/scanbuttond/buttonpressed.sh.sample -@exec if [ ! -f %D/etc/scanbuttond/buttonpressed.sh ] ; then cp -p %D/%F %B/buttonpressed.sh; fi -@unexec if cmp -s %D/etc/scanbuttond/initscanner.sh.sample %D/etc/scanbuttond/initscanner.sh; then rm -f %D/etc/scanbuttond/initscanner.sh; fi -etc/scanbuttond/initscanner.sh.sample -@exec if [ ! -f %D/etc/scanbuttond/initscanner.sh ] ; then cp -p %D/%F %B/initscanner.sh; fi -@unexec if cmp -s %D/etc/scanbuttond/meta.conf.sample %D/etc/scanbuttond/meta.conf; then rm -f %D/etc/scanbuttond/meta.conf; fi -etc/scanbuttond/meta.conf.sample -@exec if [ ! -f %D/etc/scanbuttond/meta.conf ] ; then cp -p %D/%F %B/meta.conf; fi -lib/libscanbtnd-backend_epson.la +@sample etc/scanbuttond/buttonpressed.sh.sample +@sample etc/scanbuttond/initscanner.sh.sample +@sample etc/scanbuttond/meta.conf.sample lib/libscanbtnd-backend_epson.so lib/libscanbtnd-backend_epson.so.1 -lib/libscanbtnd-backend_meta.la +lib/libscanbtnd-backend_epson.so.1.0.0 lib/libscanbtnd-backend_meta.so lib/libscanbtnd-backend_meta.so.1 -lib/libscanbtnd-backend_mustek.la +lib/libscanbtnd-backend_meta.so.1.0.0 lib/libscanbtnd-backend_mustek.so lib/libscanbtnd-backend_mustek.so.1 -lib/libscanbtnd-backend_niash.la +lib/libscanbtnd-backend_mustek.so.1.0.0 lib/libscanbtnd-backend_niash.so lib/libscanbtnd-backend_niash.so.1 -lib/libscanbtnd-backend_plustek.la +lib/libscanbtnd-backend_niash.so.1.0.0 lib/libscanbtnd-backend_plustek.so lib/libscanbtnd-backend_plustek.so.1 -lib/libscanbtnd-backend_plustek_umax.la +lib/libscanbtnd-backend_plustek.so.1.0.0 lib/libscanbtnd-backend_plustek_umax.so lib/libscanbtnd-backend_plustek_umax.so.1 -lib/libscanbtnd-backend_snapscan.la +lib/libscanbtnd-backend_plustek_umax.so.1.0.0 lib/libscanbtnd-backend_snapscan.so lib/libscanbtnd-backend_snapscan.so.1 -lib/libscanbtnd-interface_usb.la +lib/libscanbtnd-backend_snapscan.so.1.0.0 lib/libscanbtnd-interface_usb.so lib/libscanbtnd-interface_usb.so.1 +lib/libscanbtnd-interface_usb.so.1.0.0 @dirrm etc/scanbuttond |