svn commit: r317321 - head/lang/gforth
Johan van Selst
johans at FreeBSD.org
Sat May 4 14:13:35 UTC 2013
Author: johans
Date: Sat May 4 14:13:34 2013
New Revision: 317321
URL: http://svnweb.freebsd.org/changeset/ports/317321
Log:
- Update GNU Forth to 0.7.2
- Update MASTER_SITES
- Use gcc
Modified:
head/lang/gforth/Makefile
head/lang/gforth/distinfo
head/lang/gforth/pkg-plist (contents, props changed)
Modified: head/lang/gforth/Makefile
==============================================================================
--- head/lang/gforth/Makefile Sat May 4 14:06:08 2013 (r317320)
+++ head/lang/gforth/Makefile Sat May 4 14:13:34 2013 (r317321)
@@ -1,15 +1,11 @@
-# New ports collection makefile for: gforth
-# Date created: 12 October 2000
-# Whom: Cyrille Lefevre <clefevre at citeweb.net>
-#
+# Created by: Cyrille Lefevre <clefevre at citeweb.net>
# $FreeBSD$
-#
PORTNAME= gforth
-PORTVERSION= 0.7.0
+PORTVERSION= 0.7.2
CATEGORIES= lang
-MASTER_SITES= ${MASTER_SITE_GNU}
-MASTER_SITE_SUBDIR= gforth
+MASTER_SITES= http://www.complang.tuwien.ac.at/forth/gforth/ \
+ GNU
MAINTAINER= johans at FreeBSD.org
COMMENT= Fast and portable Forth system
@@ -22,6 +18,7 @@ CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CFLAGS+= -fno-reorder-blocks -fno-inline
USE_GMAKE= yes
+USE_GCC= any
USE_AUTOTOOLS= libtool libltdl
USE_LDCONFIG= ${PREFIX}/lib/gforth/${PORTVERSION}/libcc-named
ALL_TARGET= kernel/version.fs more info
@@ -29,26 +26,25 @@ MAKE_JOBS_UNSAFE=yes
STRIP= #none
-PLIST_SUB= PORTVERSION="${PORTVERSION}" \
+PLIST_SUB= PORTVERSION=${PORTVERSION} \
WORDSIZE=${WORDSIZE} BYTEORDER=${BYTEORDER}
-DOC_FILES= AUTHORS BUGS Benchres COPYING COPYING.DOC \
+PORTDOCS= AUTHORS BUGS Benchres COPYING COPYING.DOC \
INSTALL INSTALL.BINDIST NEWS README \
NEWS.vmgen README.vmgen ToDo
MAN1= gforth.1
INFO= gforth vmgen
-PORTDOCS= *
.include <bsd.port.pre.mk>
-.if ${ARCH} == i386 || ${ARCH} == "powerpc"
+.if ${ARCH} == i386 || ${ARCH} == powerpc
WORDSIZE=32
.else
WORDSIZE=64
.endif
-.if ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+.if ${ARCH} == powerpc || ${ARCH} == sparc64
BYTEORDER=b
.else
BYTEORDER=l
@@ -62,11 +58,11 @@ post-patch:
post-install: install-doc remove-empty-files remove-empty-dirs
install-doc:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
-.for filename in ${DOC_FILES}
+. for filename in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${filename} ${DOCSDIR}
-.endfor
+. endfor
.endif
# Remove unused file
Modified: head/lang/gforth/distinfo
==============================================================================
--- head/lang/gforth/distinfo Sat May 4 14:06:08 2013 (r317320)
+++ head/lang/gforth/distinfo Sat May 4 14:13:34 2013 (r317321)
@@ -1,2 +1,2 @@
-SHA256 (gforth-0.7.0.tar.gz) = 4841e3d25329d5aa29876a641d1e681809719fa5de3982007ecaf74d8056fffe
-SIZE (gforth-0.7.0.tar.gz) = 2277918
+SHA256 (gforth-0.7.2.tar.gz) = 77db9071c2442da3215da361b71190bccb153f81f4d01e5e8bc2c2cf8ee81b48
+SIZE (gforth-0.7.2.tar.gz) = 2560467
Modified: head/lang/gforth/pkg-plist
==============================================================================
--- head/lang/gforth/pkg-plist Sat May 4 14:06:08 2013 (r317320)
+++ head/lang/gforth/pkg-plist Sat May 4 14:13:34 2013 (r317321)
@@ -1,4 +1,3 @@
- at comment $FreeBSD$
bin/gforth-%%PORTVERSION%%
@exec ln -fs %f %B/gforth
@unexec rm -f %B/gforth
@@ -241,6 +240,7 @@ lib/gforth/%%PORTVERSION%%/libcc-named/f
%%DATADIR%%/%%PORTVERSION%%/xwords.fs
@exec mkdir -p %D/%%DATADIR%%/site-forth
@dirrm %%DATADIR%%/site-forth
+ at dirrmtry %%DATADIR%%/%%PORTVERSION%%/vmgen-ex
@dirrm %%DATADIR%%/%%PORTVERSION%%/unix
@dirrm %%DATADIR%%/%%PORTVERSION%%/test
@dirrm %%DATADIR%%/%%PORTVERSION%%/kernel
More information about the svn-ports-all
mailing list