freebsd-ports/devel/lbpp/Makefile
Ying-Chieh Liao c2e96a6fd1 Replace ${PERL} with ${REINPLACE_CMD}
PR:		39842
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
2002-06-25 18:36:39 +00:00

33 lines
724 B
Makefile

# ex:ts=8
# Ports collection makefile for: lbpp
# Date created: Jun 4, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= lbpp
PORTVERSION= 0.0.6b
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_GNOME= 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.mk>