Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2014 23:28:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353537 - head/lang/whitespace
Message-ID:  <201405092328.s49NSDYk038899@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri May  9 23:28:12 2014
New Revision: 353537
URL: http://svnweb.freebsd.org/changeset/ports/353537
QAT: https://qat.redports.org/buildarchive/r353537/

Log:
  - Support staging
  - Convert USE_GMAKE to USES
  - Use new LIB_DEPENDS syntax
  - Remove redundant OPTIONS_DEFAULT
  - Convert single-line pkg-plist to PLIST_FILES
  - Remove Author lines

Deleted:
  head/lang/whitespace/pkg-plist
Modified:
  head/lang/whitespace/Makefile
  head/lang/whitespace/pkg-descr

Modified: head/lang/whitespace/Makefile
==============================================================================
--- head/lang/whitespace/Makefile	Fri May  9 23:13:39 2014	(r353536)
+++ head/lang/whitespace/Makefile	Fri May  9 23:28:12 2014	(r353537)
@@ -15,35 +15,25 @@ COMMENT=	Interpreter for the Whitespace 
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
-LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp \
-		ffi.6:${PORTSDIR}/devel/libffi
+LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
+		libffi.so:${PORTSDIR}/devel/libffi
 
-USES=		perl5
+USES=		perl5 gmake
 USE_PERL5=	build
 WRKSRC=	${WRKDIR}/WSpace
-USE_GMAKE=	yes
 ALL_TARGET=	${TARGET}
 
-OPTIONS_DEFINE=		DOCS EXAMPLES
-OPTIONS_DEFAULT=	DOCS EXAMPLES
-
-PORTEXAMPLES=		*
-PORTDOCS=		*
+PLIST_FILES=	bin/wspace
+PORTEXAMPLES=	*
+PORTDOCS=	*
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=		DOCS EXAMPLES
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/wspace ${PREFIX}/bin
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/wspace ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/lang/whitespace/pkg-descr
==============================================================================
--- head/lang/whitespace/pkg-descr	Fri May  9 23:13:39 2014	(r353536)
+++ head/lang/whitespace/pkg-descr	Fri May  9 23:28:12 2014	(r353537)
@@ -5,7 +5,4 @@ Only spaces, tabs, and newlines are cons
 This port is a prototype interpreter for the Whitespace programming
 language written in Haskell.
 
-Author:	Edwin Brady
-	Chris Morris
-
 WWW: http://compsoc.dur.ac.uk/whitespace/



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