aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/reed/Makefile
blob: ecf579fac298acd1235dcb8e6a24c498fdd53b52 (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
# New ports collection makefile for:    reed
# Date created:             7 August 2001
# Whom:                 Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#

PORTNAME=   reed
PORTVERSION=    4.6
CATEGORIES= misc
MASTER_SITES=   http://www.sacredchao.net/software/reed/

MAINTAINER= petef@FreeBSD.org

LIB_DEPENDS=    gnugetopt.1:${PORTSDIR}/devel/libgnugetopt

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
MAKE_ARGS=  CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"

post-patch:
    @${PERL} -pi -e 's!sys/dir.h!dirent.h!g' ${WRKSRC}/configure \
        ${WRKSRC}/src/reed.h
    @${PERL} -pi -e 's!-O3!!' ${WRKSRC}/configure
    @${PERL} -pi -e 's!CFLAGS =!CFLAGS +=!' ${WRKSRC}/src/Makefile.in

MAN1=   breed.1 reed.1 wrap.1

.include <bsd.port.mk>