1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/sysutils/scanbd/Makefile
Felix Palmen 7d1faa7179 bsd.sites.mk: Update all ports using USE_GITLAB
Replace GL_COMMIT by GL_TAGNAME in all ports. The new GL_TAGNAME is
backwards-compatible (accepting any commit hash as before), but also
understands an actual tag name. Moving to tag names where appropriate is
left to individual ports' maintainers.

Approved by:		portmgr (tcberner, mentor)
Differential Revision:	https://reviews.freebsd.org/D37077
2023-07-12 20:56:04 +02:00

51 lines
1.5 KiB
Makefile

PORTNAME= scanbd
DISTVERSION= 1.5.1
PORTREVISION= 2
CATEGORIES= sysutils
MAINTAINER= trueos@norwegianrockcat.com
COMMENT= Scanner button daemon
WWW= https://sourceforge.net/projects/scanbd/
LICENSE= GPLv2
BUILD_DEPENDS= sane-config:graphics/sane-backends
LIB_DEPENDS= libdbus-1.so:devel/dbus \
libudev.so:devel/libudev-devd \
libconfuse.so:devel/libconfuse
RUN_DEPENDS= bash:shells/bash \
scanimage:graphics/sane-backends
USES= gettext-runtime gmake pkgconfig shebangfix
USE_GITLAB= yes
GL_ACCOUNT= sane-project/frontend
GL_PROJECT= scanbd
GL_TAGNAME= 4503640d202c06510f21848a684e221f613f324b
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=saned --with-group=saned
SHEBANG_GLOB= *.script
USE_RC_SUBR= scanbd
SUB_FILES= pkg-message \
scanbd
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/conf/scanbd.conf
post-install:
${MV} ${STAGEDIR}${ETCDIR}/scanbd.conf ${STAGEDIR}${ETCDIR}/scanbd.conf.sample
${MV} ${STAGEDIR}${ETCDIR}/scripts/action.script ${STAGEDIR}${ETCDIR}/scripts/action.script.sample
${MV} ${STAGEDIR}${ETCDIR}/scripts/example.script ${STAGEDIR}${ETCDIR}/scripts/example.script.sample
${MV} ${STAGEDIR}${ETCDIR}/scripts/insert.script ${STAGEDIR}${ETCDIR}/scripts/insert.script.sample
${MV} ${STAGEDIR}${ETCDIR}/scripts/scanadf.script ${STAGEDIR}${ETCDIR}/scripts/scanadf.script.sample
${MV} ${STAGEDIR}${ETCDIR}/scripts/test.script ${STAGEDIR}${ETCDIR}/scripts/test.script.sample
${MKDIR} ${STAGEDIR}${PREFIX}/etc/rc.d
${INSTALL_SCRIPT} ${WRKDIR}/scanbd ${STAGEDIR}${PREFIX}/etc/rc.d/scanbd
.include <bsd.port.mk>