1998-12-20 00:52:26 +01:00
|
|
|
# New ports collection makefile for: ici
|
|
|
|
# Date created: 18 December 1997
|
|
|
|
# Whom: andy
|
|
|
|
#
|
1999-08-25 08:35:40 +02:00
|
|
|
# $FreeBSD$
|
1998-12-20 00:52:26 +01:00
|
|
|
#
|
|
|
|
|
2000-04-12 08:21:15 +02:00
|
|
|
PORTNAME= ici
|
2002-04-03 05:31:52 +02:00
|
|
|
PORTVERSION= 3.0.1
|
1998-12-20 00:52:26 +01:00
|
|
|
CATEGORIES= lang
|
2001-02-14 14:11:57 +01:00
|
|
|
MASTER_SITES= http://www.zeta.org.au/~atrn/ici/distfiles/
|
1998-12-20 00:52:26 +01:00
|
|
|
|
2000-04-16 13:16:50 +02:00
|
|
|
MAINTAINER= atrn@zeta.org.au
|
2004-02-13 05:17:05 +01:00
|
|
|
COMMENT= An interpretive language with C's feel and high level data types
|
1998-12-20 00:52:26 +01:00
|
|
|
|
1999-04-13 13:01:48 +02:00
|
|
|
MAKEFILE= Makefile.bsd
|
2001-02-14 14:11:57 +01:00
|
|
|
MAN1= ici3.1
|
1998-12-20 00:52:26 +01:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2003-08-23 14:50:48 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-04-03 05:31:52 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
|
2001-02-14 14:11:57 +01:00
|
|
|
ICIHDRS= alloc.h array.h buf.h catch.h cfunc.h conf-bsd.h exec.h file.h \
|
2002-04-03 05:31:52 +02:00
|
|
|
float.h forall.h func.h fwd.h ici.h int.h mark.h mem.h \
|
|
|
|
method.h null.h object.h op.h parse.h pc.h primes.h ptr.h re.h \
|
|
|
|
set.h skt.h src.h str.h struct.h trace.h win.h wrap.h
|
1999-11-01 03:01:39 +01:00
|
|
|
|
2001-02-05 16:04:13 +01:00
|
|
|
ICIPCREHDRS= pcre/internal.h pcre/pcre.h
|
1999-11-01 03:01:39 +01:00
|
|
|
|
2001-02-05 16:04:13 +01:00
|
|
|
ICIDOCS= doc/ici-a4.ps doc/ici-ltr.ps doc/ici.txt doc/ici.pdf
|
1999-11-01 03:01:39 +01:00
|
|
|
|
2003-06-05 00:43:38 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-02-05 22:04:15 +01:00
|
|
|
.if ${OSVERSION} >= 502000
|
|
|
|
BROKEN= "Does not compile"
|
|
|
|
.endif
|
|
|
|
|
2003-08-23 14:50:48 +02:00
|
|
|
post-patch:
|
2003-11-12 12:46:15 +01:00
|
|
|
${REINPLACE_CMD} -e 's/float_t/floats_t/g' ${WRKSRC}/*.[ch]
|
2003-06-05 00:43:38 +02:00
|
|
|
|
1999-11-01 03:01:39 +01:00
|
|
|
do-install:
|
2001-02-14 14:11:57 +01:00
|
|
|
cd ${WRKSRC} && ${MAKE} -f ${MAKEFILE} libici3.a
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ici3 ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libici3.a ${PREFIX}/lib
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/ici3.1.gz ${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${PREFIX}/lib/ici3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ici3core.ici ${PREFIX}/lib/ici3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ici3core1.ici ${PREFIX}/lib/ici3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ici3core2.ici ${PREFIX}/lib/ici3
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/ici3core3.ici ${PREFIX}/lib/ici3
|
|
|
|
${MKDIR} ${PREFIX}/include/ici3
|
|
|
|
${MKDIR} ${PREFIX}/include/ici3/pcre
|
1999-11-01 03:01:39 +01:00
|
|
|
.for f in ${ICIHDRS}
|
2001-02-14 14:11:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/ici3
|
1999-11-01 03:01:39 +01:00
|
|
|
.endfor
|
|
|
|
.for f in ${ICIPCREHDRS}
|
2001-02-14 14:11:57 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/ici3/pcre
|
1999-11-01 03:01:39 +01:00
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-02-14 14:11:57 +01:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/ici3
|
1999-11-01 03:01:39 +01:00
|
|
|
.for f in ${ICIDOCS}
|
2002-04-03 05:31:52 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/$f ${PREFIX}/share/doc/ici3
|
1999-11-01 03:01:39 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2003-05-18 12:15:44 +02:00
|
|
|
.include <bsd.port.post.mk>
|