30 lines
625 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.15 2019/07/12 21:02:22 sthen Exp $
2015-06-19 12:44:49 +00:00
COMMENT= scan mailboxes for messages matching a regular expression
2015-06-19 12:44:49 +00:00
DISTNAME= mboxgrep-0.7.9
CATEGORIES= mail
2015-06-19 12:44:49 +00:00
HOMEPAGE= http://www.mboxgrep.org/
2015-06-19 12:44:49 +00:00
# GPLv2
PERMIT_PACKAGE= Yes
2015-06-19 12:44:49 +00:00
WANTLIB += bz2 c pcre z
2015-06-19 12:44:49 +00:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mboxgrep/}
2015-06-19 12:44:49 +00:00
LIB_DEPENDS= archivers/bzip2 \
devel/pcre
2015-06-19 12:44:49 +00:00
CONFIGURE_STYLE= gnu dest
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
2015-06-19 12:44:49 +00:00
# md5.c:122: warning: incompatible implicit declaration of built-in function 'bcopy'
CFLAGS += -DSTDC_HEADERS
2015-06-19 12:44:49 +00:00
NO_TEST= Yes
.include <bsd.port.mk>