1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/lang/scm/Makefile

66 lines
1.7 KiB
Makefile
Raw Normal View History

# 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
#
PORTNAME= scm
PORTVERSION= 5d5
CATEGORIES= lang
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
MAINTAINER= ports@FreeBSD.org
EXTRACT_ONLY= scm5d5.zip slib2d3.zip
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_ZIP= yes
USE_GMAKE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= scmlit
MAN1= scm.1
1994-11-06 09:59:26 +00: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 \
r4rstest.scm
post-extract:
@${TAR} -C ${WRKDIR} -zxf ${DISTDIR}/slib-psd1-3.tar.gz
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 "${DATADIR}/"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/scm ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/scmlit ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/scm.1 ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/require.scm ${DATADIR}
.for file in ${SCM_DATA}
${INSTALL_DATA} ${WRKSRC}/${file} ${DATADIR}
.endfor
@${MKDIR} ${DATADIR}/slib
${INSTALL_DATA} ${WRKDIR}/slib/*.scm ${DATADIR}/slib
@${MKDIR} ${DATADIR}/slib/psd
${INSTALL_DATA} ${WRKDIR}/slib/psd/*.scm ${DATADIR}/slib/psd
${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
cd ${DATADIR} && ${PREFIX}/bin/scm -lmkimpcat.scm
1994-11-06 09:59:26 +00:00
.include <bsd.port.mk>