mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
41 lines
872 B
Makefile
41 lines
872 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: lbpp
|
|
# Date created: Jun 4, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lbpp
|
|
PORTVERSION= 0.0.6b
|
|
PORTREVISION= 8
|
|
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
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
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.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not install on powerpc: runaway process
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|