2001-03-02 20:15:58 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: opencl
|
|
|
|
# Date created: Mar 3, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= opencl
|
2002-07-31 12:16:47 +02:00
|
|
|
PORTVERSION= 0.8.7
|
2001-03-02 20:15:58 +01:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= OpenCL-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-06-10 13:30:06 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2001-03-02 20:15:58 +01:00
|
|
|
|
2002-06-23 22:39:23 +02:00
|
|
|
USE_REINPLACE= yes
|
2001-03-02 20:15:58 +01:00
|
|
|
USE_NEWGCC= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_SCRIPT= configure.pl
|
2001-06-10 13:30:06 +02:00
|
|
|
CONFIGURE_ARGS= gcc-freebsd-generic
|
2001-03-02 20:15:58 +01:00
|
|
|
USE_GMAKE= yes
|
2002-05-10 04:32:18 +02:00
|
|
|
MAKE_ARGS= LANG_FLAGS="-fpermissive -ansi"
|
2001-03-02 20:15:58 +01:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
2002-05-10 04:32:18 +02:00
|
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
|
|
|
|
post-patch:
|
2002-06-23 22:39:23 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g ; \
|
2002-05-10 04:32:18 +02:00
|
|
|
s,%%CFLAGS%%,${CFLAGS},g" ${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
@${RM} -f ${WRKSRC}/src/pipe_io.cpp.orig
|
2001-03-02 20:15:58 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|