Skip to content

Instantly share code, notes, and snippets.

@dch dch/hexpm.mk
Created Sep 21, 2018

Embed
What would you like to do?
# $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= erlang@FreeBSD.org
#
# 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
You can’t perform that action at this time.