1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/lang/chicken/Makefile
Martin Wilke 1288aadf26 - Mark it JOBS_SAFE
PR:		162671
Submitted by:	Jan Beich <jbeich@tormail.net>
Approved by:	maintainer
Feature safe:	yes
2011-11-25 18:14:08 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: CHICKEN
# Date created: 31 December 2002
# Whom: Kimura Fuyuki <fuyuki@hadaly.org>
#
# $FreeBSD$
#
PORTNAME= chicken
PORTVERSION= 4.7.0
CATEGORIES= lang scheme
MASTER_SITES= http://code.call-cc.org/releases/${PORTVERSION}/
MAINTAINER= vmagerya@gmail.com
COMMENT= A Scheme-to-C compiler
MAKE_JOBS_SAFE= yes
USE_GMAKE= yes
MAKEFILE= GNUmakefile
USE_LDCONFIG= yes
MAKE_ARGS+= PLATFORM=bsd PREFIX=${PREFIX} \
TOPMANDIR=${PREFIX}/man ARCH=${NEW_ARCH} \
C_COMPILER="${CC}" \
CXX_COMPILER="${CXX}" \
LIBRARIAN="${AR}" \
C_COMPILER_OPTIMIZATION_OPTIONS="${CFLAGS}"
NEW_ARCH= ${ARCH:S/i386/x86/:S/amd64/x86-64/}
MAN1= chicken.1 chicken-bug.1 chicken-install.1 chicken-profile.1 \
chicken-status.1 chicken-uninstall.1 csc.1 csi.1
.include <bsd.port.pre.mk>
.if ${ARCH} != "amd64" && ${ARCH} != "i386" && ${ARCH} != "sparc64"
MAKE_ARGS+= HACKED_APPLY=
.endif
post-patch:
@${REINPLACE_CMD} '/^%.so:/s|$$| lib$$(PROGRAM_PREFIX)chicken$$(PROGRAM_SUFFIX)$$(SO)|' \
${WRKSRC}/rules.make
@${REINPLACE_CMD} \
's|^DOCDIR = .*$$|DOCDIR = ${DOCSDIR}|' \
${WRKSRC}/defaults.make
post-install:
@${INSTALL_DATA} ${WRKSRC}/NEWS ${DOCSDIR}
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}
.include <bsd.port.post.mk>