aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-31 13:45:17 +0800
committergahr <gahr@FreeBSD.org>2008-07-31 13:45:17 +0800
commit09ea6403bc63d1d87ef5675271fd936832d8fbe3 (patch)
tree3ffd34e2e20f164224279630dc8e685cb61c3c5a /lang
parent53668a0a170237e1bde00612df7114ff132bcdf0 (diff)
downloadfreebsd-ports-gnome-09ea6403bc63d1d87ef5675271fd936832d8fbe3.tar.gz
freebsd-ports-gnome-09ea6403bc63d1d87ef5675271fd936832d8fbe3.tar.zst
freebsd-ports-gnome-09ea6403bc63d1d87ef5675271fd936832d8fbe3.zip
- 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)
Diffstat (limited to 'lang')
-rw-r--r--lang/seed7/Makefile16
-rw-r--r--lang/seed7/distinfo6
-rw-r--r--lang/seed7/pkg-plist5
3 files changed, 21 insertions, 6 deletions
diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile
index 0918ace01638..96b14c2de194 100644
--- a/lang/seed7/Makefile
+++ b/lang/seed7/Makefile
@@ -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>
diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo
index 4fa81da1f04b..a7bbc34162b0 100644
--- a/lang/seed7/distinfo
+++ b/lang/seed7/distinfo
@@ -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
diff --git a/lang/seed7/pkg-plist b/lang/seed7/pkg-plist
index 5122bb3761cb..ea7891f12d41 100644
--- a/lang/seed7/pkg-plist
+++ b/lang/seed7/pkg-plist
@@ -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