aboutsummaryrefslogtreecommitdiffstats
path: root/lang/smarteiffel
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-11 19:52:31 +0800
committeredwin <edwin@FreeBSD.org>2003-10-11 19:52:31 +0800
commitf7aaa25d0d2583dceb15566539e295e517e8efd5 (patch)
tree2ca29cda4266afeb8d4621f8b905409608dd74ac /lang/smarteiffel
parent56c23b8b5bd4d6553372dafe7de519feae3d9259 (diff)
downloadfreebsd-ports-gnome-f7aaa25d0d2583dceb15566539e295e517e8efd5.tar.gz
freebsd-ports-gnome-f7aaa25d0d2583dceb15566539e295e517e8efd5.tar.zst
freebsd-ports-gnome-f7aaa25d0d2583dceb15566539e295e517e8efd5.zip
a few files in the 1.1 lang/smarteiffel port had the wrong path (the build path)
The system.se and loadpath.se files had the build path instead of the install path. This patch corrects this issuse. Also the loadpath.UNIX file was no longer applicable. This isn't an issue for people using the Gobo geant build system, but for pure SmartEiffel users the port didn't work. PR: ports/57203 Submitted by: User & <berend@pobox.com>
Diffstat (limited to 'lang/smarteiffel')
-rw-r--r--lang/smarteiffel/Makefile31
-rw-r--r--lang/smarteiffel/pkg-plist1
2 files changed, 11 insertions, 21 deletions
diff --git a/lang/smarteiffel/Makefile b/lang/smarteiffel/Makefile
index 5ef7671d0e57..bb8707958269 100644
--- a/lang/smarteiffel/Makefile
+++ b/lang/smarteiffel/Makefile
@@ -7,6 +7,7 @@
PORTNAME= smarteiffel
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.loria.fr/pub/loria/SmartEiffel/Oldies/
DISTNAME= se-${PORTVERSION}
@@ -47,26 +48,16 @@ do-install:
${LN} -fs ${SEDIR} ${ALIASDIR})
@(if ${TEST} -e ${SEDIR} ; then ${RM} -rf ${SEDIR}; fi; \
${MKDIR} ${SEDIR}; \
- ${CP} -pR ${WRKSRC}/* ${SEDIR}; \
- ${ECHO_CMD} ./ > ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/kernel/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/base/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/io/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/iterator/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/random/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/number/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/sorting/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/time/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/scoop/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/lib/misc/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/expression/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/instruction/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/e_type/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/feature/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/run_feature/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tools/misc/ >> ${SEDIR}/sys/loadpath.UNIX; \
- ${ECHO_CMD} ${SEDIR}/tutorial/ >> ${SEDIR}/sys/loadpath.UNIX)
+ ${CP} -pR ${WRKSRC}/* ${SEDIR})
+ @${SED} -i .orig -e "s,${WRKSRC},${SEDIR},g" ${SEDIR}/sys/system.se
+ @${RM} ${SEDIR}/sys/system.se.orig
+ @${SED} -i .orig -e "s,${WRKSRC},${SEDIR},g" ${SEDIR}/lib/loadpath.se
+ @${RM} ${SEDIR}/lib/loadpath.se.orig
+ @${SED} -i .orig -e "s,${WRKSRC},${SEDIR},g" ${SEDIR}/tools/loadpath.se
+ @${RM} ${SEDIR}/tools/loadpath.se.orig
+ @${SED} -i .orig -e "s,${WRKSRC},${SEDIR},g" ${SEDIR}/tutorial/loadpath.se
+ @${RM} ${SEDIR}/tutorial/loadpath.se.orig
+
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-message \
> ${PKGMESSAGE}
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGDIR}/pkg-install \
diff --git a/lang/smarteiffel/pkg-plist b/lang/smarteiffel/pkg-plist
index edba8001ef5a..1d03604a6b6d 100644
--- a/lang/smarteiffel/pkg-plist
+++ b/lang/smarteiffel/pkg-plist
@@ -988,7 +988,6 @@ smarteiffel-%%PORTVERSION%%/sys/runtime/SmartEiffelRuntime$DirectoryStream.class
smarteiffel-%%PORTVERSION%%/sys/gc
smarteiffel-%%PORTVERSION%%/sys/READ_ME
smarteiffel-%%PORTVERSION%%/sys/system.se
-smarteiffel-%%PORTVERSION%%/sys/loadpath.UNIX
smarteiffel-%%PORTVERSION%%/tutorial/basic_directory/example1.e
smarteiffel-%%PORTVERSION%%/tutorial/basic_directory/example2.e
smarteiffel-%%PORTVERSION%%/tutorial/basic_directory/example3.e