freebsd-ports/devel/boehm-gc/Makefile
Patrick Li 74f0bfa70e Make prefix safe.
PR:		34528
Submitted by:	Kazutoshi Kubota <tu7k-kbt@asahi-net.or.jp>
2002-02-02 04:48:28 +00:00

34 lines
828 B
Makefile

# New ports collection makefile for: boehm-gc
# Date created: 15 November 1996
# Whom: Mike McGaughey <mmcg@cs.monash.edu.au>
#
# $FreeBSD$
#
PORTNAME= boehm-gc
PORTVERSION= 6.0
CATEGORIES= devel
MASTER_SITES= http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
DISTNAME= gc${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= i386 # XXX can't figure out whether to define
# # XXX SEARCH_FOR_DATA_START on other platforms
HAS_CONFIGURE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --prefix=${PREFIX}
MAN3= gc.3
post-patch:
@${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/doc/gc.man
post-install:
${INSTALL_DATA} ${WRKSRC}/include/gc.h ${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/include/gc_cpp.h ${PREFIX}/include
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${PREFIX}/man/man3/gc.3
.include <bsd.port.mk>