mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Update to 05_20080720
- Add compiler's libraries and fix their paths [1] - Add test target [1] Reported by: Thomas Merter (author, via private email)
This commit is contained in:
parent
b3b3261f87
commit
f9672becd1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217869
3 changed files with 21 additions and 6 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= seed7
|
||||
DISTVERSION= 05_20080707
|
||||
DISTVERSION= 05_20080720
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
||||
|
@ -23,8 +23,12 @@ MAKEFILE= makefile
|
|||
ALL_TARGET= hi
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;\
|
||||
s|`pwd`|${PREFIX}/lib/${PORTNAME}|g;\
|
||||
s|-lX11|$${LFLAGS} -lX11|g' \
|
||||
${WRKSRC}/makefile
|
||||
${REINPLACE_CMD} -i '' -e 's|./hi|${PREFIX}/bin/hi|g' \
|
||||
${WRKSRC}/../prg/chk_all.sd7
|
||||
|
||||
do-configure:
|
||||
(cd ${WRKSRC} && ${GMAKE} depend)
|
||||
|
@ -33,6 +37,9 @@ do-install:
|
|||
${INSTALL_PROGRAM} ${WRKSRC}/hi ${PREFIX}/bin
|
||||
${INSTALL} -d ${PREFIX}/lib/${PORTNAME}
|
||||
(cd ${WRKSRC}/../lib && ${COPYTREE_SHARE} \* ${PREFIX}/lib/${PORTNAME})
|
||||
${INSTALL_DATA} ${WRKSRC}/s7_comp.a ${PREFIX}/lib/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/s7_data.a ${PREFIX}/lib/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/seed7_05.a ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
|
@ -44,4 +51,9 @@ post-install:
|
|||
(cd ${WRKSRC}/../prg && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
|
||||
.endif
|
||||
|
||||
test: install
|
||||
@echo ""
|
||||
@echo "Testing the ${PORTNAME} installation"
|
||||
@(cd ${WRKSRC}/../prg && ${PREFIX}/bin/hi chk_all)
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (seed7_05_20080707.tgz) = 9397af2d9bec529eb2338eeca8c38e54
|
||||
SHA256 (seed7_05_20080707.tgz) = 30777009089f3524f689310460e71fb5a1fe7c745c99c8b2bdbb4d5154204271
|
||||
SIZE (seed7_05_20080707.tgz) = 1077384
|
||||
MD5 (seed7_05_20080720.tgz) = 7aa6da36db51bf8aa0db7360c4acdec0
|
||||
SHA256 (seed7_05_20080720.tgz) = c0f634a507b0bf378a3832954e6d17cc7633e57f1bc953d0e6cac23e9c052934
|
||||
SIZE (seed7_05_20080720.tgz) = 1080297
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
bin/hi
|
||||
lib/seed7/s7_comp.a
|
||||
lib/seed7/s7_data.a
|
||||
lib/seed7/seed7_05.a
|
||||
lib/seed7/COPYING
|
||||
lib/seed7/LGPL
|
||||
lib/seed7/bigfile.s7i
|
||||
|
@ -60,6 +63,7 @@ lib/seed7/wrinum.s7i
|
|||
%%PORTDOCS%%%%DOCSDIR%%/robodoc.rc
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/COPYING
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LGPL
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/files.txt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/addup.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bas7.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bifurk.sd7
|
||||
|
@ -94,7 +98,6 @@ lib/seed7/wrinum.s7i
|
|||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eliza.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/err.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fib.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/files
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gcd.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gkbd.sd7
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/green.dna
|
||||
|
|
Loading…
Add table
Reference in a new issue