2000-01-14 12:19:33 -05:00
|
|
|
# New ports collection makefile for: scm
|
|
|
|
# Date created: Sat Nov 5 17:11:01 PST 1994
|
|
|
|
# Whom: hsu
|
1994-11-06 04:59:26 -05:00
|
|
|
#
|
1999-08-25 02:35:40 -04:00
|
|
|
# $FreeBSD$
|
1994-11-06 04:59:26 -05:00
|
|
|
#
|
|
|
|
|
2000-04-12 02:21:15 -04:00
|
|
|
PORTNAME= scm
|
2000-08-18 12:29:21 -04:00
|
|
|
PORTVERSION= 5d3
|
1996-11-11 21:19:40 -05:00
|
|
|
CATEGORIES= lang
|
2000-01-14 12:19:33 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
2000-08-18 12:29:21 -04:00
|
|
|
ftp://ftp.swiss.ai.mit.edu/pub/scm/
|
2000-01-14 12:19:33 -05:00
|
|
|
MASTER_SITE_SUBDIR= jacal
|
2000-08-18 12:29:21 -04:00
|
|
|
DISTFILES= scm5d3.zip slib2c8.zip slib-psd1-3.tar.gz
|
1995-04-15 01:44:50 -04:00
|
|
|
|
1998-08-10 08:11:44 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2000-08-18 12:29:21 -04:00
|
|
|
EXTRACT_ONLY= scm5d3.zip slib2c8.zip
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-01-14 12:19:33 -05:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
2000-08-18 12:29:21 -04:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
ALL_TARGET= scmlit
|
1996-11-18 09:17:24 -05:00
|
|
|
MAN1= scm.1
|
1994-11-06 04:59:26 -05:00
|
|
|
|
2000-08-18 12:29:21 -04:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
|
|
|
SCM_DATA= COPYING Iedline.scm Init${PORTVERSION}.scm Link.scm \
|
|
|
|
Macexp.scm Macro.scm Transcen.scm Tscript.scm mkimpcat.scm
|
2000-01-14 12:19:33 -05:00
|
|
|
|
|
|
|
post-extract:
|
2000-08-18 12:29:21 -04:00
|
|
|
@${TAR} -C ${WRKDIR} -zxf ${_DISTDIR}/slib-psd1-3.tar.gz
|
2000-01-14 12:19:33 -05:00
|
|
|
|
2000-08-18 12:29:21 -04:00
|
|
|
do-configure:
|
|
|
|
@${SED} -e "s:%%PREFIX%%:${PREFIX}:g" \
|
|
|
|
${FILESDIR}/require.scm.in > ${WRKDIR}/require.scm
|
|
|
|
|
|
|
|
post-build:
|
|
|
|
cd ${WRKSRC}; SCMLIT="./scmlit" ${SH} ./build \
|
|
|
|
-F "arrays bignums cautious inexact" \
|
|
|
|
-h system \
|
|
|
|
-o scm \
|
|
|
|
-s "${PREFIX}/share/scm/"
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scm ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/scm.1 ${PREFIX}/man/man1
|
|
|
|
@${MKDIR} ${PREFIX}/share/scm
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/require.scm ${PREFIX}/share/scm
|
|
|
|
.for file in ${SCM_DATA}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/scm
|
|
|
|
.endfor
|
|
|
|
@touch ${PREFIX}/share/scm/implcat
|
|
|
|
@touch ${PREFIX}/share/scm/slibcat
|
|
|
|
@${MKDIR} ${PREFIX}/share/scm/slib
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/*.scm ${PREFIX}/share/scm/slib
|
|
|
|
@${MKDIR} ${PREFIX}/share/scm/slib/psd
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/psd/*.scm ${PREFIX}/share/scm/slib/psd
|
2000-01-14 12:19:33 -05:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/scm/scm.info ${PREFIX}/info
|
|
|
|
@install-info ${PREFIX}/info/scm.info ${PREFIX}/info/dir
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/slib.info ${PREFIX}/info
|
|
|
|
@install-info ${PREFIX}/info/slib.info ${PREFIX}/info/dir
|
1994-11-06 04:59:26 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|