Created
September 21, 2018 06:27
-
-
Save dch/86c7c6eb290f7237006a6310dce734e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $FreeBSD$ | |
# | |
# Fetch packages from https://hex.pm/packages/ for Elixir and Erlang/OTP | |
# | |
# Feature: hexpm | |
# Usage: USES=hexpm | |
# Valid ARGS: does not require args | |
# | |
# MAINTAINER= [email protected] | |
# | |
# Arguments: | |
# | |
# hexpm Specifies that the port uses hex packages | |
# | |
# Targets: | |
# | |
# makehexpm This target will | |
# | |
# Variables overridable by the port: | |
# | |
# HEXPM_PACKAGEDIR The directory in which the port expects the packages | |
# to be available | |
# $default: ${WRKDIR}/.hex/packages/ | |
# | |
# HEXPM_CDN The fetch-compatible URL to download packages from | |
# default: ${MASTER_SITE_HEXPM} which is https://repo.hex.pm/tarballs/ | |
.if !defined(_INCLUDE_USES_HEXPM_MK) | |
_INCLUDE_USES_HEXPM_MK=yes | |
HEXPM_PACKAGEDIR?= ${WRKDIR}/.hex/packages/ | |
HEXPM_CDN?= https://repo.hex.pm/tarballs/ | |
.endif #!defined(_INCLUDE_USES_HEXPM_MK) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment