mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-07 11:49:40 +00:00
Uses/cabal.mk: Rename EXECUTABLES
to CABAL_EXECUTABLES
.
Approved by: tcberner Differential Revision: https://reviews.freebsd.org/D36079
This commit is contained in:
parent
5b45bb04f5
commit
505ecf2230
@ -23,7 +23,9 @@
|
||||
# argument of cabal-install utility. Used for both
|
||||
# cabal configure and cabal build.
|
||||
#
|
||||
# EXECUTABLES List of executable Cabal targets to be built and installed.
|
||||
# CABAL_EXECUTABLES List of executable Cabal targets to be built and installed.
|
||||
# Consult the .cabal file of the project being ported to find
|
||||
# out possible values for this variable.
|
||||
# default: ${PORTNAME}
|
||||
#
|
||||
# opt_USE_CABAL Variant of USE_CABAL to be used with options framework.
|
||||
@ -31,9 +33,10 @@
|
||||
# Note that it works a bit differently from CABAL_FLAGS:
|
||||
# it appends "${opt_CABAL_FLAGS}" when the option is enabled
|
||||
# and "-${opt_CABAL_FLAGS}" otherwise.
|
||||
# opt_EXECUTABLES Variant of EXECUTABLES to be used with options framework.
|
||||
# opt_CABAL_EXECUTABLES Variant of CABAL_EXECUTABLES to be used with
|
||||
# options framework.
|
||||
#
|
||||
# CABAL_WRAPPER_SCRIPTS A subset of ${EXECUTABLES} containing Haskell
|
||||
# CABAL_WRAPPER_SCRIPTS A subset of ${CABAL_EXECUTABLES} containing Haskell
|
||||
# programs to be wrapped into a shell script that sets
|
||||
# *_datadir environment variables before running the program.
|
||||
# This is needed for Haskell programs that install their
|
||||
@ -73,7 +76,7 @@ BROKEN= basement-0.0.14 package doesn't compile on i386
|
||||
|
||||
PKGNAMEPREFIX?= hs-
|
||||
|
||||
EXECUTABLES?= ${PORTNAME}
|
||||
CABAL_EXECUTABLES?= ${PORTNAME}
|
||||
|
||||
CABAL_CMD?= cabal
|
||||
CABAL_PORT= devel/hs-cabal-install
|
||||
@ -128,7 +131,7 @@ _USES_patch= 701:cabal-post-patch
|
||||
_USES_configure=301:cabal-pre-configure
|
||||
_USES_stage= 751:cabal-post-install-script
|
||||
|
||||
BUILD_TARGET?= ${EXECUTABLES:S/^/exe:&/}
|
||||
BUILD_TARGET?= ${CABAL_EXECUTABLES:S/^/exe:&/}
|
||||
|
||||
_use_cabal= ${USE_CABAL:O:u}
|
||||
|
||||
@ -276,7 +279,7 @@ do-install:
|
||||
. if defined(CABAL_WRAPPER_SCRIPTS) && !empty(CABAL_WRAPPER_SCRIPTS)
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/${CABAL_LIBEXEC}
|
||||
. endif
|
||||
. for exe in ${EXECUTABLES}
|
||||
. for exe in ${CABAL_EXECUTABLES}
|
||||
. if defined(CABAL_WRAPPER_SCRIPTS) && ${CABAL_WRAPPER_SCRIPTS:M${exe}}
|
||||
${INSTALL_PROGRAM} \
|
||||
$$(find ${WRKSRC}/dist-newstyle -name ${exe} -type f -perm +111) \
|
||||
@ -300,7 +303,7 @@ do-install:
|
||||
|
||||
. if !defined(SKIP_CABAL_PLIST)
|
||||
cabal-post-install-script:
|
||||
. for exe in ${EXECUTABLES}
|
||||
. for exe in ${CABAL_EXECUTABLES}
|
||||
${ECHO_CMD} 'bin/${exe}' >> ${TMPPLIST}
|
||||
. if defined(CABAL_WRAPPER_SCRIPTS) && ${CABAL_WRAPPER_SCRIPTS:M${exe}}
|
||||
${ECHO_CMD} '${CABAL_LIBEXEC}/${exe}' >> ${TMPPLIST}
|
||||
|
@ -180,9 +180,9 @@ OPTIONSMKINCLUDED= bsd.options.mk
|
||||
OPTIONS_NAME?= ${PKGORIGIN:S/\//_/}
|
||||
OPTIONS_FILE?= ${PORT_DBDIR}/${OPTIONS_NAME}/options
|
||||
|
||||
_OPTIONS_FLAGS= ALL_TARGET BROKEN CATEGORIES CFLAGS CONFIGURE_ENV CONFLICTS \
|
||||
CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS \
|
||||
DESKTOP_ENTRIES DISTFILES EXECUTABLES EXTRA_PATCHES EXTRACT_ONLY \
|
||||
_OPTIONS_FLAGS= ALL_TARGET BROKEN CABAL_EXECUTABLES CATEGORIES CFLAGS CONFIGURE_ENV \
|
||||
CONFLICTS CONFLICTS_BUILD CONFLICTS_INSTALL CPPFLAGS CXXFLAGS \
|
||||
DESKTOP_ENTRIES DISTFILES EXTRA_PATCHES EXTRACT_ONLY \
|
||||
GH_ACCOUNT GH_PROJECT GH_SUBDIR GH_TAGNAME GH_TUPLE \
|
||||
GL_ACCOUNT GL_COMMIT GL_PROJECT GL_SITE GL_SUBDIR GL_TUPLE \
|
||||
IGNORE INFO INSTALL_TARGET LDFLAGS LIBS MAKE_ARGS MAKE_ENV \
|
||||
|
@ -122,8 +122,7 @@ USE_CABAL= Diff-0.4.1 \
|
||||
x509-validation-1.6.12 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= dhall-to-bash
|
||||
|
||||
CABAL_PROJECT= remove
|
||||
CABAL_EXECUTABLES= dhall-to-bash
|
||||
CABAL_PROJECT= remove
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -117,8 +117,7 @@ USE_CABAL= Diff-0.4.1 \
|
||||
x509-validation-1.6.12 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= dhall-to-json json-to-dhall
|
||||
|
||||
CABAL_PROJECT= remove
|
||||
CABAL_EXECUTABLES= dhall-to-json json-to-dhall
|
||||
CABAL_PROJECT= remove
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -120,8 +120,7 @@ USE_CABAL= Diff-0.4.1 \
|
||||
x509-validation-1.6.12 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= dhall-to-yaml-ng yaml-to-dhall
|
||||
|
||||
CABAL_PROJECT= remove
|
||||
CABAL_EXECUTABLES= dhall-to-yaml-ng yaml-to-dhall
|
||||
CABAL_PROJECT= remove
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -63,7 +63,7 @@ USE_CABAL= OneTuple-0.3.1_2 \
|
||||
vector-algorithms-0.8.0.4_1 \
|
||||
witherable-0.4.2_2
|
||||
|
||||
EXECUTABLES= arbtt-capture arbtt-stats arbtt-recover arbtt-import arbtt-dump
|
||||
CABAL_EXECUTABLES= arbtt-capture arbtt-stats arbtt-recover arbtt-import arbtt-dump
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= EXAMPLESDIR=${EXAMPLESDIR}
|
||||
|
@ -51,7 +51,7 @@ USE_CABAL= Diff-0.4.1 \
|
||||
vector-0.12.3.1_2 \
|
||||
witherable-0.4.2_2
|
||||
|
||||
EXECUTABLES= shellcheck
|
||||
CABAL_EXECUTABLES= shellcheck
|
||||
|
||||
OPTIONS_DEFINE= MANPAGES
|
||||
OPTIONS_DEFAULT= MANPAGES
|
||||
|
@ -10,7 +10,7 @@ LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= cabal
|
||||
|
||||
CABAL_WRAPPER_SCRIPTS= ${EXECUTABLES}
|
||||
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
|
||||
|
@ -38,7 +38,7 @@ USE_CABAL= async-2.2.4 \
|
||||
th-compat-0.1.3 \
|
||||
zlib-0.6.2.3_1
|
||||
|
||||
EXECUTABLES= cabal
|
||||
CABAL_EXECUTABLES= cabal
|
||||
SKIP_CABAL_EXTRACT= yes
|
||||
|
||||
post-extract:
|
||||
|
@ -10,7 +10,7 @@ LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= cabal
|
||||
|
||||
CABAL_WRAPPER_SCRIPTS= ${EXECUTABLES}
|
||||
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
|
||||
|
||||
PORTEXAMPLES= *.ly README glr/* igloo/*
|
||||
|
||||
|
@ -284,8 +284,7 @@ USE_CABAL= Boolean-0.2.4 \
|
||||
|
||||
CABAL_PROJECT= append
|
||||
CABAL_FLAGS= -dynamic
|
||||
|
||||
EXECUTABLES= ${PORTNAME} \
|
||||
CABAL_EXECUTABLES= ${PORTNAME} \
|
||||
${PORTNAME}-wrapper
|
||||
|
||||
NOT_FOR_ARCHS= i386
|
||||
|
@ -21,6 +21,6 @@ USE_CABAL= QuickCheck-2.14.2 \
|
||||
syb-0.7.2.1 \
|
||||
temporary-1.3
|
||||
|
||||
EXECUTABLES= mueval mueval-core
|
||||
CABAL_EXECUTABLES= mueval mueval-core
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -49,7 +49,7 @@ USE_CABAL= OneTuple-0.3.1_2 \
|
||||
vector-0.12.3.1_2 \
|
||||
witherable-0.4.2_3
|
||||
|
||||
CABAL_WRAPPER_SCRIPTS= ${EXECUTABLES}
|
||||
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
|
||||
profiteur_DATADIR_VARS= js-jquery
|
||||
|
||||
post-install:
|
||||
|
@ -67,6 +67,6 @@ USE_CABAL= ConfigFile-1.1.4 \
|
||||
yaml-0.11.4.0 \
|
||||
zlib-0.6.2.1_1
|
||||
|
||||
EXECUTABLES= hedgewars-server checker
|
||||
CABAL_EXECUTABLES= hedgewars-server checker
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -10,6 +10,6 @@ LICENSE= GPLv2
|
||||
|
||||
USES= cabal
|
||||
|
||||
EXECUTABLES= bf
|
||||
CABAL_EXECUTABLES= bf
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -145,7 +145,7 @@ USE_CABAL= Cabal-3.6.3.0 \
|
||||
xss-sanitize-0.3.7_1 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= purs
|
||||
CABAL_FLAGS= release
|
||||
CABAL_EXECUTABLES= purs
|
||||
CABAL_FLAGS= release
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -11,6 +11,6 @@ LICENSE= GPLv2
|
||||
|
||||
USES= cabal
|
||||
|
||||
EXECUTABLES= HsColour
|
||||
CABAL_EXECUTABLES= HsColour
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -122,8 +122,8 @@ USE_CABAL= GraphSCC-1.0.4 \
|
||||
zlib-0.6.3.0 \
|
||||
zlib-bindings-0.1.1.5_2
|
||||
|
||||
EXECUTABLES= cryptol cryptol-html
|
||||
CABAL_WRAPPER_SCRIPTS= ${EXECUTABLES}
|
||||
CABAL_EXECUTABLES= cryptol cryptol-html
|
||||
CABAL_WRAPPER_SCRIPTS= ${CABAL_EXECUTABLES}
|
||||
|
||||
post-install:
|
||||
cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
|
||||
|
@ -16,6 +16,6 @@ USE_CABAL= regex-base-0.94.0.2 \
|
||||
regex-compat-0.95.2.1_1 \
|
||||
regex-posix-0.96.0.1
|
||||
|
||||
EXECUTABLES= lhs2TeX
|
||||
CABAL_EXECUTABLES= lhs2TeX
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,7 +26,7 @@ TRYPANDOC_USE_CABAL= HUnit-1.6.2.0 auto-update-0.1.6 byteorder-1.0.4 \
|
||||
time-manager-0.0.0 unix-compat-0.6 unix-time-0.4.7 \
|
||||
unliftio-core-0.2.0.1_2 vault-0.3.1.5_1 void-0.7.3 \
|
||||
wai-3.2.3 wai-extra-3.1.12.1 wai-logger-2.4.0 word8-0.1.3
|
||||
TRYPANDOC_EXECUTABLES= trypandoc
|
||||
TRYPANDOC_CABAL_EXECUTABLES= trypandoc
|
||||
|
||||
USE_CABAL= Glob-0.10.2_3 \
|
||||
HsYAML-0.2.1.1 \
|
||||
@ -177,7 +177,7 @@ USE_CABAL= Glob-0.10.2_3 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
CABAL_PROJECT= remove
|
||||
EXECUTABLES= pandoc
|
||||
CABAL_EXECUTABLES= pandoc
|
||||
CABAL_WRAPPER_SCRIPTS= ${EXECUTABLES}
|
||||
|
||||
OPTIONS_SUB= yes
|
||||
|
@ -59,7 +59,7 @@ USE_CABAL= OneTuple-0.3.1_2 \
|
||||
vector-algorithms-0.8.0.4_1 \
|
||||
witherable-0.4.2_2
|
||||
|
||||
EXECUTABLES= json2yaml yaml2json
|
||||
CABAL_FLAGS= -no-exe
|
||||
CABAL_EXECUTABLES= json2yaml yaml2json
|
||||
CABAL_FLAGS= -no-exe
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -121,6 +121,6 @@ USE_CABAL= OneTuple-0.3.1_2 \
|
||||
xml-types-0.3.8 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= hdav
|
||||
CABAL_EXECUTABLES= hdav
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -47,7 +47,7 @@ do-install:
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_DATA} ${WRKDIR}/default.conf ${STAGEDIR}${ETCDIR}/default.conf.sample
|
||||
${INSTALL_PROGRAM} \
|
||||
$$(find ${WRKSRC}/dist-newstyle -name ${EXECUTABLES} -type f -perm +111) \
|
||||
${STAGEDIR}${PREFIX}/sbin/${EXECUTABLES}
|
||||
$$(find ${WRKSRC}/dist-newstyle -name ${PORTNAME} -type f -perm +111) \
|
||||
${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -103,6 +103,6 @@ USE_CABAL= HUnit-1.6.2.0 \
|
||||
x509-1.7.6 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= warp
|
||||
CABAL_EXECUTABLES= warp
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -129,6 +129,6 @@ USE_CABAL= HUnit-1.6.2.0 \
|
||||
yaml-0.11.8.0 \
|
||||
zlib-0.6.3.0
|
||||
|
||||
EXECUTABLES= yesod
|
||||
CABAL_EXECUTABLES= yesod
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
x
Reference in New Issue
Block a user