a4806d01bb
Mboxgrep is a small utility that scans a mailbox for messages matching a regular expression. Found messages can be either displayed on standard output, counted, deleted, piped to a shell command or written to another mailbox.
35 lines
828 B
Makefile
35 lines
828 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/12/05 08:04:27 kevlo Exp $
|
|
|
|
COMMENT= "scan mailboxes for messages matching a regular expression"
|
|
|
|
DISTNAME= mboxgrep-0.7.4
|
|
CATEGORIES= mail
|
|
NEED_VERSION= 1.500
|
|
|
|
HOMEPAGE= http://mboxgrep.sourceforge.net/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= mboxgrep
|
|
|
|
LIB_DEPENDS= pcre::devel/pcre
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/mboxgrep ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/mboxgrep.1 ${PREFIX}/man/man1
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mboxgrep.info ${PREFIX}/info
|
|
|
|
.include <bsd.port.mk>
|