update to more recent version, new PLIST.
This commit is contained in:
parent
5611952243
commit
3703b1b9d8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.16 2004/07/07 09:39:45 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.17 2004/09/15 19:12:09 espie Exp $
|
||||
# losely based on the FreeBSD port
|
||||
|
||||
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "vax" || \
|
||||
@ -11,7 +11,7 @@ COMMENT= "scheme r5 interpreter"
|
||||
|
||||
CATEGORIES= lang
|
||||
|
||||
V=5d3
|
||||
V=5d9
|
||||
DISTNAME= scm$V
|
||||
PKGNAME= scm-$V
|
||||
EXTRACT_SUFX= .zip
|
||||
@ -29,20 +29,29 @@ PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
SCM_DATA= COPYING Iedline.scm Init5d3.scm Link.scm \
|
||||
Macexp.scm Macro.scm Transcen.scm Tscript.scm mkimpcat.scm \
|
||||
disarm.scm build.scm split.scm
|
||||
FLAVORS=no_x11
|
||||
|
||||
FLAVOR?=
|
||||
SCM_DATA= COPYING Iedline.scm Init5d9.scm Link.scm \
|
||||
Macexp.scm Macro.scm Transcen.scm Tscript.scm \
|
||||
build build.scm compile.scm hobbit.scm mkimpcat.scm \
|
||||
r4rstest.scm scmhob.scm \
|
||||
disarm.scm split.scm
|
||||
|
||||
SCM_INFO= scm.info hobbit.info
|
||||
SCM_INCLUDES= scmflags.h scmfig.h patchlvl.h scmhob.h
|
||||
.if !{FLAVOR:L:Mno_x11}
|
||||
SCM_DATA+= keysymdef.scm x11.scm xatoms.scm xevent.scm
|
||||
SCM_INFO+= Xlibscm.info
|
||||
.endif
|
||||
|
||||
FEATURES=arrays bignums cautious edit-line curses posix socket unix \
|
||||
dynamic-linking i/o-extensions inexact regex
|
||||
|
||||
FLAVORS=no_x11
|
||||
|
||||
FLAVOR?=
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
.else
|
||||
FEATURES+=x
|
||||
OPTIONS+=--compiler-options=-I${X11BASE}/include
|
||||
OPTIONS+=--compiler-options=-I${X11BASE}/include --compiler-options=-O2
|
||||
OPTIONS+=--linker-options=-L${X11BASE}/lib
|
||||
SCM_DATA+= x11.scm xevent.scm
|
||||
.endif
|
||||
@ -50,6 +59,9 @@ SCM_DATA+= x11.scm xevent.scm
|
||||
BUILD_DEPENDS=::devel/slib
|
||||
RUN_DEPENDS=::devel/slib
|
||||
|
||||
pre-build:
|
||||
@echo "srcdir=${WRKSRC}" >${WRKSRC}/srcdir.mk
|
||||
|
||||
post-build:
|
||||
cd ${WRKSRC} && ${MAKE_ENV} PATH=${WRKSRC}:${PORTPATH} /bin/sh ./build \
|
||||
-F '${FEATURES}' \
|
||||
@ -72,23 +84,25 @@ MAKE_ENV= SCHEME_LIBRARY_PATH=${LOCALBASE}/share/slib/
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/scm ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/scmlit ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKBUILD}/scm-sicp ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKBUILD}/scm.1 ${PREFIX}/man/man1
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/scm
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/include/scm
|
||||
${INSTALL_DATA} ${WRKBUILD}/scm{,flags,fig}.h ${PREFIX}/include/scm
|
||||
sed -e 's,@PREFIX@,${TRUEPREFIX},' \
|
||||
<${FILESDIR}/require.scm.in \
|
||||
>${PREFIX}/share/scm/require.scm
|
||||
.for file in ${SCM_INCLUDES}
|
||||
${INSTALL_DATA} ${WRKBUILD}/${file} ${PREFIX}/include/scm
|
||||
.endfor
|
||||
.for file in ${SCM_DATA}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/scm
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/scm.info ${PREFIX}/info
|
||||
.if ${FLAVOR:L:Mno_x11}
|
||||
.else
|
||||
${INSTALL_DATA} ${WRKSRC}/Xlibscm.info ${PREFIX}/info
|
||||
.endif
|
||||
.for file in ${SCM_INFO}
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/info
|
||||
.endfor
|
||||
|
||||
FAKE_FLAGS=${MAKE_FLAGS} exec_prefix=${WRKINST}${TRUEPREFIX}/
|
||||
REGRESS_TARGET= check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,3 @@
|
||||
MD5 (scm5d3.zip) = eb39df756b6ea44a1a92e9cc63db54a2
|
||||
MD5 (slib2c9.zip) = db159efaee38d34e7c0b2395ecc7222c
|
||||
RMD160 (scm5d3.zip) = c7d8e64dec861ed7c51fb037d5d91336ca07e75a
|
||||
RMD160 (slib2c9.zip) = 1b32041ee03049f25664ebcf91aa2d7a27f85a11
|
||||
SHA1 (scm5d3.zip) = 8ba9096e4c18d6c9849b221842939aaeff08b7eb
|
||||
SHA1 (slib2c9.zip) = 5d221c8651a1c2abbe1098bd05013903934de0e0
|
||||
MD5 (scm5d9.zip) = 27ca7806ca4fcb205b9f53a914853546
|
||||
RMD160 (scm5d9.zip) = cc150853146cfaa8cfb57bf54f863570a1f65ebc
|
||||
SHA1 (scm5d9.zip) = cac632cbf45f61451df1456cea9ca843913bd7ad
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-scmfig_h,v 1.2 2004/03/03 09:03:12 pvalchev Exp $
|
||||
--- scmfig.h.orig 2000-05-01 20:21:39.000000000 -0600
|
||||
+++ scmfig.h 2004-03-03 01:59:07.000000000 -0700
|
||||
@@ -102,7 +102,7 @@ rgx.c init_rgx(); regcomp and regexec. *
|
||||
$OpenBSD: patch-scmfig_h,v 1.3 2004/09/15 19:12:09 espie Exp $
|
||||
--- scmfig.h.orig Mon Sep 22 01:42:46 2003
|
||||
+++ scmfig.h Sun Sep 5 11:41:32 2004
|
||||
@@ -144,7 +144,7 @@ rgx.c init_rgx(); regcomp and regexec. *
|
||||
/* Define CDR_DOUBLES if (sizeof(double)==sizeof(long)), i.e.
|
||||
a `single' is really a double. */
|
||||
#ifdef FLOATS
|
||||
@ -10,7 +10,7 @@ $OpenBSD: patch-scmfig_h,v 1.2 2004/03/03 09:03:12 pvalchev Exp $
|
||||
# define CDR_DOUBLES
|
||||
# endif
|
||||
|
||||
@@ -236,7 +236,7 @@ rgx.c init_rgx(); regcomp and regexec. *
|
||||
@@ -278,7 +278,7 @@ rgx.c init_rgx(); regcomp and regexec. *
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
@ -18,4 +18,4 @@ $OpenBSD: patch-scmfig_h,v 1.2 2004/03/03 09:03:12 pvalchev Exp $
|
||||
+#if defined(__LP64__)
|
||||
# define SHORT_INT
|
||||
#endif
|
||||
#ifdef MSDOS /* Microsoft C 5.10 and 6.00A */
|
||||
#ifdef __ia64
|
||||
|
@ -1,6 +1,6 @@
|
||||
@comment $OpenBSD: PFRAG.no-no_x11,v 1.1 2001/01/31 22:51:42 espie Exp $
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/Xlibscm.info
|
||||
info/Xlibscm.info
|
||||
@comment $OpenBSD: PFRAG.no-no_x11,v 1.2 2004/09/15 19:12:09 espie Exp $
|
||||
@info info/Xlibscm.info
|
||||
share/scm/x11.scm
|
||||
share/scm/xevent.scm
|
||||
@exec install-info --info-dir=%D/info %D/info/Xlibscm.info
|
||||
share/scm/xatoms.scm
|
||||
share/scm/keysymdef.scm
|
||||
|
@ -1,28 +1,34 @@
|
||||
@comment $OpenBSD: PLIST,v 1.4 2001/02/03 20:42:48 espie Exp $
|
||||
@unexec install-info --delete --info-dir=%D/info %D/info/scm.info
|
||||
@comment $OpenBSD: PLIST,v 1.5 2004/09/15 19:12:09 espie Exp $
|
||||
bin/scm
|
||||
bin/scm-sicp
|
||||
include/scm/scm.h
|
||||
bin/scmlit
|
||||
include/scm/
|
||||
include/scm/patchlvl.h
|
||||
include/scm/scmfig.h
|
||||
include/scm/scmflags.h
|
||||
info/scm.info
|
||||
man/man1/scm.1
|
||||
share/scm/build.scm
|
||||
share/scm/disarm.scm
|
||||
include/scm/scmhob.h
|
||||
@info info/hobbit.info
|
||||
@info info/scm.info
|
||||
@man man/man1/scm.1
|
||||
share/scm/
|
||||
share/scm/COPYING
|
||||
share/scm/Iedline.scm
|
||||
share/scm/Init5d3.scm
|
||||
share/scm/Init5d9.scm
|
||||
share/scm/Link.scm
|
||||
share/scm/Macexp.scm
|
||||
share/scm/Macro.scm
|
||||
share/scm/Transcen.scm
|
||||
share/scm/Tscript.scm
|
||||
share/scm/build
|
||||
share/scm/build.scm
|
||||
share/scm/compile.scm
|
||||
share/scm/disarm.scm
|
||||
share/scm/hobbit.scm
|
||||
share/scm/mkimpcat.scm
|
||||
share/scm/r4rstest.scm
|
||||
share/scm/require.scm
|
||||
share/scm/scmhob.scm
|
||||
share/scm/split.scm
|
||||
!%%no_x11%%
|
||||
@exec cd %D/share/scm && %D/bin/scm -f%D/share/slib/mklibcat.scm
|
||||
@unexec rm %D/share/scm/implcat %D/share/scm/slibcat
|
||||
@dirrm include/scm
|
||||
@dirrm share/scm
|
||||
@exec install-info --info-dir=%D/info %D/info/scm.info
|
||||
|
Loading…
Reference in New Issue
Block a user