blob: f1dea947e2b64ee7a0f11a0427dd4f943c131ce7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# New ports collection makefile for: ifile
# Date created: 29 Jan 2002
# Whom: David Bushong <david+ports@bushong.net>
#
# $FreeBSD$
#
PORTNAME= ifile
PORTVERSION= 1.2.1
CATEGORIES= mail textproc
MASTER_SITES= http://savannah.nongnu.org/download/ifile/default.pkg/${PORTVERSION}/
MAINTAINER= david+ports@bushong.net
COMMENT= An application of machine learning to e-mail filtering
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAN1= ifile.1
post-patch:
.for file in argp-help.c strndup.c
@${REINPLACE_CMD} -e 's/malloc\.h/stdlib.h/g' ${WRKSRC}/argp/${file}
.endfor
@${REINPLACE_CMD} -e 's,-lm,-lm -L${LOCALBASE}/lib -lgnugetopt,' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
|