1998-12-19 23:52:26 +00:00
|
|
|
# New ports collection makefile for: ici
|
|
|
|
# Date created: 18 December 1997
|
|
|
|
# Whom: andy
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1998-12-19 23:52:26 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= ici
|
2001-02-14 13:11:57 +00:00
|
|
|
PORTVERSION= 3.0.0
|
1998-12-19 23:52:26 +00:00
|
|
|
CATEGORIES= lang
|
2001-02-14 13:11:57 +00:00
|
|
|
MASTER_SITES= http://www.zeta.org.au/~atrn/ici/distfiles/
|
1998-12-19 23:52:26 +00:00
|
|
|
|
2000-04-16 11:16:50 +00:00
|
|
|
MAINTAINER= atrn@zeta.org.au
|
1998-12-19 23:52:26 +00:00
|
|
|
|
1999-04-13 11:01:48 +00:00
|
|
|
MAKEFILE= Makefile.bsd
|
2001-02-14 13:11:57 +00:00
|
|
|
MAN1= ici3.1
|
1998-12-19 23:52:26 +00:00
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2001-02-14 13:11:57 +00:00
|
|
|
ICIHDRS= alloc.h array.h buf.h catch.h cfunc.h conf-bsd.h exec.h file.h \
|
|
|
|
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 02:01:39 +00:00
|
|
|
|
2001-02-05 15:04:13 +00:00
|
|
|
ICIPCREHDRS= pcre/internal.h pcre/pcre.h
|
1999-11-01 02:01:39 +00:00
|
|
|
|
2001-02-05 15:04:13 +00:00
|
|
|
ICIDOCS= doc/ici-a4.ps doc/ici-ltr.ps doc/ici.txt doc/ici.pdf
|
1999-11-01 02:01:39 +00:00
|
|
|
|
|
|
|
do-install:
|
2001-02-14 13:11:57 +00: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 02:01:39 +00:00
|
|
|
.for f in ${ICIHDRS}
|
2001-02-14 13:11:57 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/ici3
|
1999-11-01 02:01:39 +00:00
|
|
|
.endfor
|
|
|
|
.for f in ${ICIPCREHDRS}
|
2001-02-14 13:11:57 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/include/ici3/pcre
|
1999-11-01 02:01:39 +00:00
|
|
|
.endfor
|
|
|
|
.if !defined(NOPORTDOCS)
|
2001-02-14 13:11:57 +00:00
|
|
|
${MKDIR} ${PREFIX}/share/doc/ici3
|
1999-11-01 02:01:39 +00:00
|
|
|
.for f in ${ICIDOCS}
|
2001-02-14 13:11:57 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${PREFIX}/share/doc/ici3
|
1999-11-01 02:01:39 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
1998-12-19 23:52:26 +00:00
|
|
|
.include <bsd.port.mk>
|