2000-01-14 17:19:33 +00:00
|
|
|
# New ports collection makefile for: scm
|
|
|
|
# Version required: 5d2
|
|
|
|
# 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-01-14 17:19:33 +00:00
|
|
|
DISTNAME= scm
|
|
|
|
PKGNAME= scm-5d2
|
1996-11-12 02:19:40 +00:00
|
|
|
CATEGORIES= lang
|
2000-01-14 17:19:33 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
1998-12-10 17:24:33 +00:00
|
|
|
ftp://ftp.swiss.ai.mit.edu/pub/scm/OLD/
|
2000-01-14 17:19:33 +00:00
|
|
|
MASTER_SITE_SUBDIR= jacal
|
|
|
|
DISTFILES= scm5d2.zip slib2c7.zip slib-psd1-3.tar.gz scmconfig4e3.tar.gz
|
1995-04-15 05:44:50 +00:00
|
|
|
|
1998-08-10 12:11:44 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
|
2000-01-14 17:19:33 +00:00
|
|
|
EXTRACT_ONLY= scm5d2.zip slib2c7.zip
|
|
|
|
|
|
|
|
USE_ZIP= yes
|
1995-04-24 11:29:30 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2000-01-14 17:19:33 +00:00
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= scm.1
|
1994-11-06 09:59:26 +00:00
|
|
|
|
2000-01-14 17:19:33 +00:00
|
|
|
IMPLINIT= ${PREFIX}/libdata/scm/Init.scm
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
.for file in scmconfig4e3.tar.gz slib-psd1-3.tar.gz
|
|
|
|
@${TAR} -C ${WRKDIR} -zxf ${_DISTDIR}/${file}
|
|
|
|
.endfor
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${ECHO} '#ifndef IMPLINIT' > ${WRKSRC}/scmflags.h
|
|
|
|
@${ECHO} '#define IMPLINIT "${IMPLINIT}"' >> ${WRKSRC}/scmflags.h
|
|
|
|
@${ECHO} '#endif' >> ${WRKSRC}/scmflags.h
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@touch ${PREFIX}/libdata/scm/implcat
|
|
|
|
@touch ${PREFIX}/libdata/scm/slibcat
|
|
|
|
@${MKDIR} ${PREFIX}/libdata/slib
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/*.scm ${PREFIX}/libdata/slib
|
|
|
|
@${MKDIR} ${PREFIX}/libdata/slib/psd
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/slib/psd/*.scm ${PREFIX}/libdata/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
|
1994-11-06 09:59:26 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|