mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Fix installation glitch that caused a slowdown of DrScheme. Bump
PORTREVISION. Correct typo (ONLY_FOR_ARCH -> ONLY_FOR_ARCHS). PR: ports/63782
This commit is contained in:
parent
875cc892bf
commit
8c3508454d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103182
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= drscheme
|
||||
PORTVERSION= 206p1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= lang scheme
|
||||
MASTER_SITES= http://download.plt-scheme.org/bundles/${PORTVERSION}/plt/ \
|
||||
http://www.cs.utah.edu/plt/download/${PORTVERSION}/plt/ \
|
||||
@ -22,28 +23,26 @@ COMMENT= An interactive, integrated, graphical Scheme programming environment
|
||||
|
||||
DIST_SUBDIR= drscheme/${PORTVERSION}
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --prefix=${PLTHOME} --enable-shared
|
||||
WRKSRC= ${WRKDIR}/plt/src
|
||||
ALL_TARGET= all install
|
||||
USE_XLIB= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
PLTHOME= ${PREFIX}/drscheme
|
||||
DRS_D= bin install collects teachpack include lib
|
||||
DRS_B= drscheme mred mzc mzscheme
|
||||
MAN1= drscheme.1 mred.1 mzscheme.1
|
||||
DRS_B= drscheme mred mzc mzscheme tex2page help-desk
|
||||
MAN1= drscheme.1 help-desk.1 mred.1 mzscheme.1 tex2page.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
ONLY_FOR_ARCH= i386
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${PLTHOME}
|
||||
cd ${WRKDIR}/plt && ${TAR} -cf - --exclude '/CVS/*' ${DRS_D} | tar -C ${PLTHOME} -xf -
|
||||
cd ${PLTHOME} && ${PLTHOME}/install
|
||||
post-install:
|
||||
cd ${PLTHOME} && bin/setup-plt
|
||||
.for f in ${DRS_B}
|
||||
${LN} -s ${PLTHOME}/bin/$f ${PREFIX}/bin/$f
|
||||
.endfor
|
||||
.for f in ${MAN1}
|
||||
${INSTALL_MAN} ${WRKDIR}/plt/man/man1/$f ${PREFIX}/man/man1
|
||||
${INSTALL_MAN} ${PLTHOME}/man/man1/$f ${PREFIX}/man/man1/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
17
lang/drscheme/files/patch-Makefile.in
Normal file
17
lang/drscheme/files/patch-Makefile.in
Normal file
@ -0,0 +1,17 @@
|
||||
--- Makefile.in.orig Mon Dec 8 07:47:49 2003
|
||||
+++ Makefile.in Sun Mar 7 14:24:13 2004
|
||||
@@ -87,9 +87,9 @@
|
||||
|
||||
copytree:
|
||||
if [ ! -d $(prefix) ] ; then mkdir $(prefix) ; fi
|
||||
- cp -p -r $(srcdir)/../collects $(prefix)/.
|
||||
- cp -p -r $(srcdir)/../include $(prefix)/.
|
||||
- cp -p -r $(srcdir)/../notes $(prefix)/.
|
||||
- cp -p -r $(srcdir)/../man $(prefix)/.
|
||||
- if [ -d $(srcdir)/../teachpack ] ; then cp -r $(srcdir)/../teachpack $(prefix)/teachpack ; fi
|
||||
+ cp -p -R $(srcdir)/../collects $(prefix)/.
|
||||
+ cp -p -R $(srcdir)/../include $(prefix)/.
|
||||
+ cp -p -R $(srcdir)/../notes $(prefix)/.
|
||||
+ cp -p -R $(srcdir)/../man $(prefix)/.
|
||||
+ if [ -d $(srcdir)/../teachpack ] ; then mkdir $(prefix)/teachpack; cp -R -p $(srcdir)/../teachpack/* $(prefix)/teachpack ; fi
|
||||
if [ @MZINSTALLTARGET@ = "normal-install" ] ; then cp -p $(srcdir)/../install $(prefix)/install ; fi
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user