aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/libfxp/Makefile
blob: 0f83458bc67d021a295015a8e12fdef0d2da4551 (plain) (blame)
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
31
32
33
# ex:ts=8
# New ports collection makefile for:    libfxp
# Date created:         Feb 5, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libfxp
PORTVERSION=    0.1.4
CATEGORIES= ftp
MASTER_SITES=   # http://millweed.com/projects/libfxp/

MAINTAINER= ports@FreeBSD.org
COMMENT=    An ftp client library

BROKEN=     "master site has disappeared, and never worked on non-i386 in any case"

USE_REINPLACE=  yes
USE_GMAKE=  yes
CFLAGS+=    -I. -Ilibmillweed

post-patch:
.for file in Makefile libmillweed/Makefile
    @${REINPLACE_CMD} -e "s,^CC,#CC,g ; \
        s,^CFLAGS,#CFLAGS,g ; \
        s,^PREFIX,#PREFIX,g" ${WRKSRC}/${file}
.endfor
    @(cd ${WRKSRC} ; \
      ${GREP} -l -R malloc.h * | ${XARGS} \
      ${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g")

.include <bsd.port.mk>