aboutsummaryrefslogtreecommitdiffstats
path: root/devel/lbpp/Makefile
blob: 48d4196efe0120a490e47d8949473c674d5359dc (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
# Ports collection makefile for:    lbpp
# Date created:         Jun 4, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   lbpp
PORTVERSION=    0.0.6b
PORTREVISION=   5
CATEGORIES= devel
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A front end to GCC from Liberty Basic source code

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomelibs

post-patch:
    @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
        ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g"
    @${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \
        ${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS =,CFLAGS+=,g ; \
                s,-Wall -g,,g"

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/src/lbpp ${PREFIX}/bin
    ${INSTALL_PROGRAM} ${WRKSRC}/liblb/libLB.a ${PREFIX}/lib

.include <bsd.port.mk>