Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 16:09:58 +0000 (UTC)
From:      Johan van Selst <johans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338020 - head/lang/gforth
Message-ID:  <201312291609.rBTG9wfO005060@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: johans
Date: Sun Dec 29 16:09:58 2013
New Revision: 338020
URL: http://svnweb.freebsd.org/changeset/ports/338020

Log:
  Enable stage support

Modified:
  head/lang/gforth/Makefile
  head/lang/gforth/pkg-plist

Modified: head/lang/gforth/Makefile
==============================================================================
--- head/lang/gforth/Makefile	Sun Dec 29 16:07:50 2013	(r338019)
+++ head/lang/gforth/Makefile	Sun Dec 29 16:09:58 2013	(r338020)
@@ -10,14 +10,14 @@ MASTER_SITES=	http://www.complang.tuwien
 MAINTAINER=	johans@FreeBSD.org
 COMMENT=	Fast and portable Forth system
 
-LIB_DEPENDS=	ffi:${PORTSDIR}/devel/libffi
+LIB_DEPENDS=	libffi.so:${PORTSDIR}/devel/libffi
 BUILD_DEPENDS=	${LOCALBASE}/include/avcall.h:${PORTSDIR}/devel/ffcall
 
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CFLAGS+=	-fno-reorder-blocks -fno-inline
-USE_GMAKE=	yes
+USES=		gmake
 USE_GCC=	any
 USE_AUTOTOOLS=	libtool libltdl
 USE_LDCONFIG=	${PREFIX}/lib/gforth/${PORTVERSION}/libcc-named
@@ -33,10 +33,8 @@ PORTDOCS=	AUTHORS BUGS Benchres COPYING 
 		INSTALL INSTALL.BINDIST NEWS README \
 		NEWS.vmgen README.vmgen ToDo
 
-MAN1=		gforth.1
 INFO=		gforth vmgen
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == i386 || ${ARCH} == powerpc
@@ -60,18 +58,18 @@ post-install: install-doc remove-empty-f
 
 install-doc:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 . for filename in ${PORTDOCS}
-	@${INSTALL_DATA} ${WRKSRC}/${filename} ${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${filename} ${STAGEDIR}${DOCSDIR}
 . endfor
 .endif
 
 # Remove unused file
 remove-empty-files:
-	@${RM} -f ${DATADIR}/site-forth/siteinit.fs
+	@${RM} -f ${STAGEDIR}${DATADIR}/site-forth/siteinit.fs
 
 # Remove unused directories
 remove-empty-dirs:
-	@${FIND} -d ${DATADIR}/${PORTVERSION}/arch/ -type d -empty -delete
+	@${FIND} -d ${STAGEDIR}${DATADIR}/${PORTVERSION}/arch/ -type d -empty -delete
 
 .include <bsd.port.post.mk>

Modified: head/lang/gforth/pkg-plist
==============================================================================
--- head/lang/gforth/pkg-plist	Sun Dec 29 16:07:50 2013	(r338019)
+++ head/lang/gforth/pkg-plist	Sun Dec 29 16:09:58 2013	(r338020)
@@ -1,18 +1,13 @@
 bin/gforth-%%PORTVERSION%%
-@exec ln -fs %f %B/gforth
-@unexec rm -f %B/gforth
 bin/gforth-fast-%%PORTVERSION%%
-@exec ln -fs %f %B/gforth-fast
-@unexec rm -f %B/gforth-fast
 bin/gforth-itc-%%PORTVERSION%%
-@exec ln -fs %f %B/gforth-itc
-@unexec rm -f %B/gforth-itc
 bin/gforthmi-%%PORTVERSION%%
-@exec ln -fs %f %B/gforthmi
-@unexec rm -f %B/gforthmi
 bin/vmgen-%%PORTVERSION%%
-@exec ln -fs %f %B/vmgen
-@unexec rm -f %B/vmgen
+bin/gforth
+bin/gforth-fast
+bin/gforth-itc
+bin/gforthmi
+bin/vmgen
 include/gforth/%%PORTVERSION%%/config.h
 include/gforth/%%PORTVERSION%%/libcc.h
 lib/gforth/%%PORTVERSION%%/gforth-ditc
@@ -33,6 +28,7 @@ lib/gforth/%%PORTVERSION%%/libcc-named/f
 lib/gforth/%%PORTVERSION%%/libcc-named/fflib.so
 lib/gforth/%%PORTVERSION%%/libcc-named/fflib.la
 lib/gforth/%%PORTVERSION%%/libcc-named/fflib.a
+man/man1/gforth.1.gz
 %%DATADIR%%/%%PORTVERSION%%/TAGS
 %%DATADIR%%/%%PORTVERSION%%/add.fs
 %%DATADIR%%/%%PORTVERSION%%/ans-report.fs



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291609.rBTG9wfO005060>