Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2019 15:58:12 +0000 (UTC)
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r515270 - head/devel/hs-alex
Message-ID:  <201910231558.x9NFwC13003489@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arrowd
Date: Wed Oct 23 15:58:12 2019
New Revision: 515270
URL: https://svnweb.freebsd.org/changeset/ports/515270

Log:
  devel/hs-alex: Also install GHC templates into DATADIR. These are required when using
  alex to build GHC.

Added:
  head/devel/hs-alex/pkg-plist   (contents, props changed)
Modified:
  head/devel/hs-alex/Makefile

Modified: head/devel/hs-alex/Makefile
==============================================================================
--- head/devel/hs-alex/Makefile	Wed Oct 23 15:54:05 2019	(r515269)
+++ head/devel/hs-alex/Makefile	Wed Oct 23 15:58:12 2019	(r515270)
@@ -3,7 +3,7 @@
 
 PORTNAME=	alex
 PORTVERSION=	3.2.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel haskell
 
 MAINTAINER=	haskell@FreeBSD.org
@@ -16,6 +16,10 @@ USES=		cabal
 OPTIONS_DEFINE=	EXAMPLES
 
 PORTEXAMPLES=	Makefile *.x *.y
+
+post-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}
 
 post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}

Added: head/devel/hs-alex/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/hs-alex/pkg-plist	Wed Oct 23 15:58:12 2019	(r515270)
@@ -0,0 +1,15 @@
+%%DATADIR%%/AlexTemplate
+%%DATADIR%%/AlexTemplate-debug
+%%DATADIR%%/AlexTemplate-ghc
+%%DATADIR%%/AlexTemplate-ghc-debug
+%%DATADIR%%/AlexTemplate-ghc-nopred
+%%DATADIR%%/AlexWrapper-basic
+%%DATADIR%%/AlexWrapper-basic-bytestring
+%%DATADIR%%/AlexWrapper-gscan
+%%DATADIR%%/AlexWrapper-monad
+%%DATADIR%%/AlexWrapper-monad-bytestring
+%%DATADIR%%/AlexWrapper-monadUserState
+%%DATADIR%%/AlexWrapper-monadUserState-bytestring
+%%DATADIR%%/AlexWrapper-posn
+%%DATADIR%%/AlexWrapper-posn-bytestring
+%%DATADIR%%/AlexWrapper-strict-bytestring



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