1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/mail/mboxgrep/Makefile
Yen-Ming Lee 3e1396bb55 fix this port on -stable
PR:		56356
Noticed by:	anders
2003-12-22 20:01:04 +00:00

43 lines
985 B
Makefile

# New ports collection makefile for: mboxgrep
# Date created: 28 October 2001
# Whom: Anders Nordby <anders@fix.no>
#
# $FreeBSD$
#
PORTNAME= mboxgrep
PORTVERSION= 0.7.9
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= anders@FreeBSD.org
COMMENT= Utility to scan mailboxes for messages matching a regular expression
.if defined(WITH_PCRE)
LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
USE_REINPLACE= yes
MAN1= mboxgrep.1
INFO= mboxgrep
DOCS= ChangeLog NEWS README TODO
post-patch:
@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
post-install:
install-info ${PREFIX}/info/mboxgrep.info ${PREFIX}/info/dir
.if !defined(NOPORTDOCS)
${INSTALL} -d -o root -g wheel -m 0755 ${DOCSDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>