37 lines
835 B
Makefile
37 lines
835 B
Makefile
# $OpenBSD: Makefile,v 1.10 2010/11/19 07:23:07 espie Exp $
|
|
|
|
COMMENT= scan mailboxes for messages matching a regular expression
|
|
|
|
DISTNAME= mboxgrep-0.7.8
|
|
CATEGORIES= mail
|
|
|
|
HOMEPAGE= http://www.mboxgrep.org/
|
|
|
|
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
WANTLIB= c z pcre
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mboxgrep/}
|
|
|
|
LIB_DEPENDS= devel/pcre
|
|
|
|
WRKSRC= ${WRKDIR}/mboxgrep
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include" \
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
USE_GROFF = Yes
|
|
|
|
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>
|