1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Update to version 4.1.3

PR:		ports/67584
Submitted by:	maintainer
This commit is contained in:
Kirill Ponomarev 2004-06-05 06:47:30 +00:00
parent 6ad50f1d98
commit 6e4dc3cdd6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110864
3 changed files with 11 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= spin
PORTVERSION= 4.1.2
PORTVERSION= 4.1.3
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= http://spinroot.com/spin/Src/
@ -40,23 +40,23 @@ post-extract:
@cd ${WRKDIR}/Test && ${SH} ${WRKDIR}/Test/examples
pre-patch:
${TR} -d '\015' < ${WRKDIR}/Xspin4.1/xspin412.tcl \
> ${WRKDIR}/Xspin4.1/xspin412.tcl.tmp
${MV} -f ${WRKDIR}/Xspin4.1/xspin412.tcl.tmp \
${WRKDIR}/Xspin4.1/xspin412.tcl
${TR} -d '\015' < ${WRKDIR}/Xspin4.1/xspin413.tcl \
> ${WRKDIR}/Xspin4.1/xspin413.tcl.tmp
${MV} -f ${WRKDIR}/Xspin4.1/xspin413.tcl.tmp \
${WRKDIR}/Xspin4.1/xspin413.tcl
post-patch:
@WISH=`(cd ${LOCALBASE}/bin ; ${LS} wish8* ) | tail -1` ; \
if [ -z "$$WISH" ] ; then WISH=wish8.0 ; fi ; \
${REINPLACE_CMD} \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g;" \
-e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin4.1/xspin412.tcl
-e "s|%%WISH%%|$$WISH|g" ${WRKDIR}/Xspin4.1/xspin413.tcl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/spin ${PREFIX}/bin
.if !defined(WITHOUT_XSPIN)
${RM} -f ${PREFIX}/bin/xspin
${INSTALL_SCRIPT} ${WRKDIR}/Xspin4.1/xspin412.tcl ${PREFIX}/bin/xspin
${INSTALL_SCRIPT} ${WRKDIR}/Xspin4.1/xspin413.tcl ${PREFIX}/bin/xspin
.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/Doc

View File

@ -1,2 +1,2 @@
MD5 (spin/spin412.tar.gz) = 0c25485f37ef44d01328833b293734a2
SIZE (spin/spin412.tar.gz) = 322223
MD5 (spin/spin413.tar.gz) = 129c26d6629c1ccf24e9cef14564f281
SIZE (spin/spin413.tar.gz) = 322981

View File

@ -1,5 +1,5 @@
--- ../Xspin4.1/xspin412.tcl.orig Mon Mar 8 11:27:07 2004
+++ ../Xspin4.1/xspin412.tcl Mon Mar 8 11:31:09 2004
--- ../Xspin4.1/xspin413.tcl.orig Mon Mar 8 11:27:07 2004
+++ ../Xspin4.1/xspin413.tcl Mon Mar 8 11:31:09 2004
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!%%LOCALBASE%%/bin/%%WISH%% -f