2000-01-14 17:19:33 +00:00
|
|
|
# New ports collection makefile for: scm
|
|
|
|
# Date created: Sat Nov 5 17:11:01 PST 1994
|
|
|
|
# Whom: hsu
|
1994-11-06 09:59:26 +00:00
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1994-11-06 09:59:26 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= scm
|
2002-03-12 00:47:02 +00:00
|
|
|
PORTVERSION= 5d5
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
2002-03-12 00:47:02 +00:00
|
|
|
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
|
|
|
|
DISTFILES= scm5d5.zip slib2d3.zip slib-psd1-3.tar.gz
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1998-08-10 12:11:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2002-03-12 00:47:02 +00:00
|
|
|
EXTRACT_ONLY= scm5d5.zip slib2d3.zip
|
2000-08-18 16:29:21 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2000-01-14 17:19:33 +00:00
|
|
|
|
|
|
|
USE_ZIP= yes
|
2002-03-12 00:47:02 +00:00
|
|
|
USE_GMAKE= yes
|
2000-08-18 16:29:21 +00:00
|
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
|
|
ALL_TARGET= scmlit
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= scm.1
|
1994-11-06 09:59:26 +00:00
|
|
|
|
2000-08-18 16:29:21 +00:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
|
|
|
|
SCM_DATA= COPYING Iedline.scm Init${PORTVERSION}.scm Link.scm \
|
2002-03-12 00:47:02 +00:00
|
|
|
Macexp.scm Macro.scm Transcen.scm Tscript.scm mkimpcat.scm \
|
|
|
|
r4rstest.scm
|
2000-01-14 17:19:33 +00:00
|
|
|
|
|
|
|
post-extract:
|
2002-03-12 00:47:02 +00:00
|
|
|
@${TAR} -C ${WRKDIR} -zxf ${DISTDIR}/slib-psd1-3.tar.gz
|
2000-01-14 17:19:33 +00:00
|
|
|
|
2000-08-18 16:29:21 +00: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 \
|
2001-08-24 23:30:17 +00:00
|
|
|
-s "${DATADIR}/"
|
2000-08-18 16:29:21 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scm ${PREFIX}/bin
|
2002-03-12 00:47:02 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scmlit ${PREFIX}/bin
|
2000-10-24 15:49:54 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/scm.1 ${MANPREFIX}/man/man1
|
2001-08-24 23:30:17 +00:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/require.scm ${DATADIR}
|
2000-08-18 16:29:21 +00:00
|
|
|
.for file in ${SCM_DATA}
|
2001-08-24 23:30:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
|
2000-08-18 16:29:21 +00:00
|
|
|
.endfor
|
2001-08-24 23:30:17 +00:00
|
|
|
@${MKDIR} ${DATADIR}/slib
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/*.scm ${DATADIR}/slib
|
|
|
|
@${MKDIR} ${DATADIR}/slib/psd
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/psd/*.scm ${DATADIR}/slib/psd
|
2000-01-14 17:19:33 +00: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
|
2002-03-12 00:47:02 +00:00
|
|
|
cd ${DATADIR} && ${PREFIX}/bin/scm -lmkimpcat.scm
|
1994-11-06 09:59:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|