2012-11-07 14:30:06 +01:00
|
|
|
# Created by: Tim Bishop <tdb@FreeBSD.org>
|
2006-01-16 12:14:42 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= kroc
|
2010-02-17 15:19:40 +01:00
|
|
|
PORTVERSION= 1.5.r6372
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 4
|
2006-01-16 12:14:42 +01:00
|
|
|
CATEGORIES= lang
|
2008-07-07 20:42:58 +02:00
|
|
|
MASTER_SITES= http://ftp.i-scream.org/pub/kroc/ \
|
|
|
|
ftp://ftp.i-scream.org/pub/kroc/
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/}
|
2006-01-16 12:14:42 +01:00
|
|
|
|
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
2012-07-29 13:17:02 +02:00
|
|
|
COMMENT= The Kent Retargetable occam-pi Compiler
|
2006-01-16 12:14:42 +01:00
|
|
|
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2012-06-01 07:26:28 +02:00
|
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
2009-04-01 00:25:01 +02:00
|
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
2006-01-16 12:14:42 +01:00
|
|
|
|
2006-01-28 14:25:28 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
|
2006-01-16 12:14:42 +01:00
|
|
|
USE_BZIP2= yes
|
2008-07-07 20:42:58 +02:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GL= yes
|
|
|
|
USE_MYSQL= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_SDL= sdl sound
|
|
|
|
USE_GNOME= libxslt
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= autoconf:env automake:env
|
2009-02-05 15:42:20 +01:00
|
|
|
USE_XORG= xmu xi
|
2009-04-01 00:25:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2006-01-16 12:14:42 +01:00
|
|
|
|
2008-07-07 20:42:58 +02:00
|
|
|
MAN1= kmakef.1 kroc.1 mkoccdeps.1 occ21.1 occamdoc.1
|
|
|
|
MAN3= libconvert-inmos.3 libcourse-cycles.3 libcourse-nets.3 \
|
|
|
|
libcourse-utils.3 libfile.3 libhostio-inmos.3 libmath-inmos.3 \
|
|
|
|
libproc.3 libsock.3 libstreamio-inmos.3 libstring-inmos.3
|
2006-01-16 12:14:42 +01:00
|
|
|
|
2008-07-07 20:42:58 +02:00
|
|
|
# Fix pkgconfig location
|
2006-01-16 12:14:42 +01:00
|
|
|
post-patch:
|
2008-07-07 20:42:58 +02:00
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.am" -type f | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
2006-01-16 12:14:42 +01:00
|
|
|
|
2009-04-01 00:25:01 +02:00
|
|
|
pre-configure:
|
|
|
|
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} \
|
|
|
|
${AUTORECONF} -f -i)
|
2008-07-07 20:42:58 +02:00
|
|
|
|
|
|
|
regression-test:
|
2009-04-01 00:25:01 +02:00
|
|
|
@cd ${WRKSRC} && ${MAKE} check
|
2006-01-16 12:14:42 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|