diff options
author | pav <pav@FreeBSD.org> | 2005-09-04 22:23:55 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2005-09-04 22:23:55 +0800 |
commit | 442ca3de5af2080d0c3b1167f484c00a105bdcb0 (patch) | |
tree | 73a15ad9bad5a66853cc9999ab861ee90685fbbb /devel/py-ice/Makefile | |
parent | ee7c53240b8766ff60df2ecf489aca423548cd5e (diff) | |
download | freebsd-ports-gnome-442ca3de5af2080d0c3b1167f484c00a105bdcb0.tar.gz freebsd-ports-gnome-442ca3de5af2080d0c3b1167f484c00a105bdcb0.tar.zst freebsd-ports-gnome-442ca3de5af2080d0c3b1167f484c00a105bdcb0.zip |
Ice language mapping for Python.
Internet Communications Engine (Ice) is a modern alternative to object
middleware such as CORBA(TM) or COM/DCOM/COM+.
PR: ports/85546
Submitted by: Boris B. Samorodov <bsam@ipt.ru>
Diffstat (limited to 'devel/py-ice/Makefile')
-rw-r--r-- | devel/py-ice/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/devel/py-ice/Makefile b/devel/py-ice/Makefile new file mode 100644 index 000000000000..cff92723f487 --- /dev/null +++ b/devel/py-ice/Makefile @@ -0,0 +1,51 @@ +# New ports collection makefile for: py-ice +# Date created: 2005-08-30 +# Whom: Boris B. Samorodov <bsam@ipt.ru> +# +# $FreeBSD$ +# + +PORTNAME= Ice +PORTVERSION= 2.1.2 +CATEGORIES= devel python +MASTER_SITES= http://www.zeroc.com/download/Ice/2.1/ +PKGNAMEPREFIX= py- +DISTNAME= IcePy-${PORTVERSION} + +MAINTAINER= bsam@ipt.ru +COMMENT= An Ice (Internet Communications Engine) language mapping for Python + +LIB_DEPENDS= Ice.21:${PORTSDIR}/devel/ice + +USE_GMAKE= yes +USE_REINPLACE= yes +USE_PYTHON= yes + +CFLAGS+= -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT ${PTHREAD_CFLAGS} +.if defined(DEBUG) +CFLAGS+= -g +.else +CFLAGS+= -DNDEBUG +.endif + +.include <bsd.port.pre.mk> + +.if ${ARCH} != "i386" +BROKEN= "does not compile" +.endif + +.if ((${ARCH} != i386) && (${ARCH} != powerpc)) +MAKE_ENV= LP64=yes +.endif + +post-patch: + ${REINPLACE_CMD} 's|%%INSTALL_PROGRAM%%|${INSTALL_PROGRAM}|g; \ + s|%%INSTALL_DATA%%|${INSTALL_DATA}|g; \ + s|%%PYTHON_SITELIBDIR%%|${PYTHON_SITELIBDIR}|g; \ + s|%%PREFIX%%|${PREFIX}|g ; \ + s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/config/Make.rules + +post-install: + ${ECHO} "Ice" > ${PYTHON_SITELIBDIR}/Ice.pth + +.include <bsd.port.post.mk> |