mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
a94f6cc77e
- Fix pkg-descr PR: 22254 Submitted by: Ports Fury
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
# New ports collection makefile for: scm
|
|
# Date created: Sat Nov 5 17:11:01 PST 1994
|
|
# Whom: hsu
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scm
|
|
PORTVERSION= 5d3
|
|
PORTREVISION= 1
|
|
CATEGORIES= lang
|
|
MASTER_SITES= ftp://ftp.swiss.ai.mit.edu/pub/scm/
|
|
DISTFILES= scm5d3.zip slib2c9.zip slib-psd1-3.tar.gz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
EXTRACT_ONLY= scm5d3.zip slib2c9.zip
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
USE_ZIP= yes
|
|
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
|
|
ALL_TARGET= scmlit
|
|
MAN1= scm.1
|
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
|
|
|
SCM_DATA= COPYING Iedline.scm Init${PORTVERSION}.scm Link.scm \
|
|
Macexp.scm Macro.scm Transcen.scm Tscript.scm mkimpcat.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 "${PREFIX}/share/scm/"
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/scm ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/scm.1 ${MANPREFIX}/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
|
|
${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
|
|
|
|
.include <bsd.port.mk>
|