From owner-svn-ports-all@freebsd.org Wed May 6 20:31:29 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D42F2DF144; Wed, 6 May 2020 20:31:29 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49HSt92BZtz493F; Wed, 6 May 2020 20:31:29 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4673F5512; Wed, 6 May 2020 20:31:29 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 046KVT99072142; Wed, 6 May 2020 20:31:29 GMT (envelope-from arrowd@FreeBSD.org) Received: (from arrowd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 046KVSFa072140; Wed, 6 May 2020 20:31:28 GMT (envelope-from arrowd@FreeBSD.org) Message-Id: <202005062031.046KVSFa072140@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arrowd set sender to arrowd@FreeBSD.org using -f From: Gleb Popov Date: Wed, 6 May 2020 20:31:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534200 - head/math/hs-Agda X-SVN-Group: ports-head X-SVN-Commit-Author: arrowd X-SVN-Commit-Paths: head/math/hs-Agda X-SVN-Commit-Revision: 534200 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2020 20:31:29 -0000 Author: arrowd Date: Wed May 6 20:31:28 2020 New Revision: 534200 URL: https://svnweb.freebsd.org/changeset/ports/534200 Log: math/hs-Agda: Install emacs mode files. PR: 246254 Modified: head/math/hs-Agda/Makefile head/math/hs-Agda/pkg-plist Modified: head/math/hs-Agda/Makefile ============================================================================== --- head/math/hs-Agda/Makefile Wed May 6 20:25:10 2020 (r534199) +++ head/math/hs-Agda/Makefile Wed May 6 20:31:28 2020 (r534200) @@ -3,11 +3,14 @@ PORTNAME= Agda PORTVERSION= 2.6.1 +PORTREVISION= 1 CATEGORIES= math haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Dependently typed functional programming language and proof assistant +BUILD_DEPENDS= emacs:editors/emacs + USES= cabal USE_LOCALE= en_US.UTF-8 @@ -58,10 +61,15 @@ USE_CABAL= STMonadTrans-0.4.4 \ EXECUTABLES= agda-mode agda agda_DATADIR_VARS= Agda +agda-mode_DATADIR_VARS= Agda +post-build: + ${SETENV} Agda_datadir=${WRKSRC}/src/data $$(find ${WRKSRC}/dist-newstyle -name agda-mode -type f -perm +111) compile + post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/lib/prim/Agda find ${WRKSRC}/src/data/lib/prim/Agda -name '*.agda' -exec ${SETENV} ${PORTNAME}_datadir=${WRKSRC}/src/data ${STAGEDIR}${PREFIX}/libexec/cabal/agda {} \; cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} lib ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/src/data && ${COPYTREE_SHARE} emacs-mode ${STAGEDIR}${DATADIR} .include Modified: head/math/hs-Agda/pkg-plist ============================================================================== --- head/math/hs-Agda/pkg-plist Wed May 6 20:25:10 2020 (r534199) +++ head/math/hs-Agda/pkg-plist Wed May 6 20:31:28 2020 (r534200) @@ -1,3 +1,20 @@ +%%DATADIR%%/emacs-mode/agda-input.el +%%DATADIR%%/emacs-mode/agda-input.elc +%%DATADIR%%/emacs-mode/agda2-abbrevs.el +%%DATADIR%%/emacs-mode/agda2-abbrevs.elc +%%DATADIR%%/emacs-mode/agda2-highlight.el +%%DATADIR%%/emacs-mode/agda2-highlight.elc +%%DATADIR%%/emacs-mode/agda2-mode-pkg.el +%%DATADIR%%/emacs-mode/agda2-mode.el +%%DATADIR%%/emacs-mode/agda2-mode.elc +%%DATADIR%%/emacs-mode/agda2-queue.el +%%DATADIR%%/emacs-mode/agda2-queue.elc +%%DATADIR%%/emacs-mode/agda2.el +%%DATADIR%%/emacs-mode/agda2.elc +%%DATADIR%%/emacs-mode/annotation.el +%%DATADIR%%/emacs-mode/annotation.elc +%%DATADIR%%/emacs-mode/eri.el +%%DATADIR%%/emacs-mode/eri.elc %%DATADIR%%/lib/prim/Agda/Builtin/Bool.agda %%DATADIR%%/lib/prim/Agda/Builtin/Bool.agdai %%DATADIR%%/lib/prim/Agda/Builtin/Char.agda