svn commit: r515270 - head/devel/hs-alex

Gleb Popov arrowd at FreeBSD.org
Wed Oct 23 15:58:13 UTC 2019


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 at 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


More information about the svn-ports-head mailing list