diff options
Diffstat (limited to 'graphics/sane-backends/Makefile')
-rw-r--r-- | graphics/sane-backends/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/graphics/sane-backends/Makefile b/graphics/sane-backends/Makefile index eec1c3ff5435..3dc93def7684 100644 --- a/graphics/sane-backends/Makefile +++ b/graphics/sane-backends/Makefile @@ -7,7 +7,7 @@ PORTNAME= sane-backends PORTVERSION= 1.0.20 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= http://alioth.debian.org/frs/download.php/3026/ \ ftp://ftp.sane-project.org/pub/sane/%SUBDIR%/ \ @@ -43,6 +43,9 @@ CONFIGURE_ARGS= --with-docdir=${DOCSDIR} \ MAKE_ENV= NOPORTDOCS=${NOPORTDOCS} USE_LDCONFIG= yes +USE_RC_SUBR= saned +SUB_FILES+= pkg-install pkg-message + .include "Makefile.man" .include <bsd.port.pre.mk> @@ -93,4 +96,11 @@ post-patch: s|} -D_REENT|} ${PTHREAD_CFLAGS} -D_REENT|g ; \ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure +# Pass BATCH to pkg-install for Evil Things(tm) +pre-install: + @BATCH="${BATCH}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL + +post-install: + @${CAT} ${PKGMESSAGE} + .include <bsd.port.post.mk> |