mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
54 lines
1.3 KiB
Makefile
54 lines
1.3 KiB
Makefile
# Created by: Tim Bishop <tdb@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kroc
|
|
PORTVERSION= 1.5.r6372
|
|
PORTREVISION= 4
|
|
CATEGORIES= lang
|
|
MASTER_SITES= http://ftp.i-scream.org/pub/kroc/ \
|
|
ftp://ftp.i-scream.org/pub/kroc/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/-r/}
|
|
|
|
MAINTAINER= tdb@FreeBSD.org
|
|
COMMENT= The Kent Retargetable occam-pi Compiler
|
|
|
|
BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
LIB_DEPENDS= png15:${PORTSDIR}/graphics/png
|
|
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
USE_BZIP2= yes
|
|
USE_LDCONFIG= yes
|
|
USE_GL= yes
|
|
USE_MYSQL= yes
|
|
USE_PYTHON= yes
|
|
USE_SDL= sdl sound
|
|
USE_GNOME= libxslt
|
|
USE_AUTOTOOLS= autoconf:env automake:env
|
|
USE_XORG= xmu xi
|
|
GNU_CONFIGURE= yes
|
|
USES= pkgconfig
|
|
|
|
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
|
|
|
|
NO_STAGE= yes
|
|
|
|
# Fix pkgconfig location
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.am" -type f | \
|
|
${XARGS} ${REINPLACE_CMD} -e \
|
|
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
|
|
|
pre-configure:
|
|
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} \
|
|
${AUTORECONF} -f -i)
|
|
|
|
regression-test:
|
|
@cd ${WRKSRC} && ${MAKE} check
|
|
|
|
.include <bsd.port.mk>
|