1 # Created by: Daniel Thiele
10 MAINTAINER= dthiele@gmx.net
11 COMMENT= Daemon to monitor and configure modern scanner's buttons
17 CPPFLAGS+= -I${LOCALBASE}/include
18 LDFLAGS+= -L${LOCALBASE}/lib
20 INSTALL_TARGET= install-strip
22 SUB_FILES+= pkg-message
25 @${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
26 ${REINPLACE_CMD} -e 's|-ldl||g'
29 @if [ -f ${WRKSRC}/scripts/buttonpressed.sh ]; then \
30 for na in buttonpressed.sh initscanner.sh; do \
31 ${MV} ${WRKSRC}/scripts/$$na ${WRKSRC}/scripts/$$na.sample ; \
33 ${REINPLACE_CMD} -e 's|\.sh|.sh.sample|g' ${WRKSRC}/scripts/Makefile ; \
34 ${MV} ${WRKSRC}/backends/meta.conf ${WRKSRC}/backends/meta.conf.sample ; \
35 ${REINPLACE_CMD} -e 's|meta\.conf|meta.conf.sample|g' ${WRKSRC}/backends/Makefile ; \
38 .include <bsd.port.mk>