2002-06-03 14:00:20 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: lbpp
|
|
|
|
# Date created: Jun 4, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lbpp
|
|
|
|
PORTVERSION= 0.0.6b
|
2004-02-04 05:21:48 +00:00
|
|
|
PORTREVISION= 1
|
2002-06-03 14:00:20 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= A front end to GCC from Liberty Basic source code
|
2002-06-03 14:00:20 +00:00
|
|
|
|
2002-06-25 18:36:39 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-06-03 14:00:20 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
2005-03-17 07:17:27 +00:00
|
|
|
USE_GNOME= gnomelibs
|
2002-06-03 14:00:20 +00:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \
|
2002-06-25 18:36:39 +00:00
|
|
|
${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g"
|
2002-06-03 14:00:20 +00:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile*" | ${XARGS} \
|
2002-06-25 18:36:39 +00:00
|
|
|
${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS =,CFLAGS+=,g ; \
|
2002-06-03 14:00:20 +00:00
|
|
|
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>
|