mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
f329319eb5
With hat: portmgr
41 lines
978 B
Makefile
41 lines
978 B
Makefile
# Created by: Anders Nordby <anders@fix.no>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mboxgrep
|
|
PORTVERSION= 0.7.9
|
|
PORTREVISION= 3
|
|
CATEGORIES= mail
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= anders@FreeBSD.org
|
|
COMMENT= Utility to scan mailboxes for messages matching a regular expression
|
|
|
|
PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre
|
|
|
|
OPTIONS_DEFINE= DOCS PCRE
|
|
|
|
USES= uidfix
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
USE_OPENSSL= yes
|
|
|
|
INFO= mboxgrep
|
|
|
|
DOCS= ChangeLog NEWS README TODO
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,void \*tmpp,FILE \*tmpp,g' ${WRKSRC}/src/main.c
|
|
@${REINPLACE_CMD} -e 's,$$(prefix),$$(DESTDIR)$$(prefix),g' \
|
|
-e 's,$$(mandir),$$(DESTDIR)$$(mandir),g' \
|
|
-e 's,$$(infodir),$$(DESTDIR)$$(infodir),g' \
|
|
${WRKSRC}/src/Makefile.in ${WRKSRC}/doc/Makefile.in
|
|
|
|
post-install:
|
|
${INSTALL} -d -o root -g wheel -m 0755 ${STAGEDIR}${DOCSDIR}
|
|
.for f in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|