1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/lang/rscheme/Makefile
Xin LI c9623ef058 - Fix build on -CURRENT
- Pass maintainership to submitter.

Submitted by:	Stanislav Sedov <ssedov mbsd msk ru>
PR:		ports/100889
2006-08-18 18:30:56 +00:00

53 lines
1.3 KiB
Makefile

# New ports collection makefile for: rscheme
# Date created: 31 July 2001
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= rscheme
PORTVERSION= 0.7.3.3
PORTREVISION= 1
CATEGORIES= lang scheme
MASTER_SITES= http://www.rscheme.org/rs/b/${PORTVERSION}/32/
DISTNAME= rs-${PORTVERSION}
MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= An object-oriented, extended version of the Scheme dialect of Lisp
WRKSRC= ${WRKDIR}/${DISTNAME}/src
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${WRKDIR}/build ${CONFIGURE_TARGET}
MAKE_ENV= REAL_PREFIX=${PREFIX}
BOOTSTRAP_DIR= ${WRKDIR}/${DISTNAME}
BOOTSTRAP_TARGET= stage1
.include <bsd.port.pre.mk>
.if ${ARCH} != "i386"
BROKEN= fails to install on ${ARCH}
.endif
.if ${OSVERSION} >= 700000
BROKEN= fails to install on 7.X
.endif
post-extract:
@${MKDIR} ${WRKSRC} ${WRKDIR}/build
pre-configure:
@${RM} -rf ${WRKSRC}
@(cd ${BOOTSTRAP_DIR}; ${SETENV} ${MAKE_ENV} ${CONFIGURE_ENV} ${MAKE} \
${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${BOOTSTRAP_TARGET})
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/build/bin/rs ${PREFIX}/bin/rs
(cd ${WRKDIR}/build && ${TAR} -c -f - include/rscheme* lib/librs.a) \
| (cd ${PREFIX} && ${TAR} --unlink -x -f -)
${MKDIR} ${DATADIR}
(cd ${WRKDIR}/build && ${TAR} -c -f - resource) \
| (cd ${DATADIR} && ${TAR} --unlink -x -f -)
.include <bsd.port.post.mk>