pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/hex



Module Name:    pkgsrc
Committed By:   nikita
Date:           Thu Nov 10 14:23:53 UTC 2022

Modified Files:
        pkgsrc/devel/hex: Makefile PLIST

Log Message:
devel/hex: simplify, use lang/elixir/mix.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/hex/Makefile pkgsrc/devel/hex/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/hex/Makefile
diff -u pkgsrc/devel/hex/Makefile:1.1 pkgsrc/devel/hex/Makefile:1.2
--- pkgsrc/devel/hex/Makefile:1.1       Thu Nov 10 12:24:08 2022
+++ pkgsrc/devel/hex/Makefile   Thu Nov 10 14:23:53 2022
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2022/11/10 12:24:08 nikita Exp $
+# $NetBSD: Makefile,v 1.2 2022/11/10 14:23:53 nikita Exp $
 
 DISTNAME=      hex-2.0.0
+PKGREVISION=   1
 PKGNAME=       elixir-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=hexpm/}
@@ -12,21 +13,7 @@ HOMEPAGE=    https://github.com/hexpm/hex/
 COMMENT=       Package manager for the Erlang VM
 LICENSE=       apache-2.0
 
-DEPENDS+=      elixir>=1.14.0:../../lang/elixir
-
-EBIN_DIR=      ${DESTDIR}${PREFIX}/lib/elixir/lib/hex/ebin/
-
-ALL_ENV+=      MIX_ENV="prod"
-# FIX THIS: warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8.
-# Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
-ALL_ENV+=      LANG="en_US.UTF-8"
-ALL_ENV+=      LC_ALL="en_US.UTF-8"
-
-do-build:
-       ${RUN} cd ${WRKSRC} && ${SETENV} ${ALL_ENV} ${PREFIX}/bin/mix local.hex --force
-
-do-install:
-       ${MKDIR} ${EBIN_DIR}
-       ${INSTALL_DATA} ${WRKDIR}/.home/.mix/archives/${DISTNAME}/${DISTNAME}/ebin/* ${EBIN_DIR}
+ELIXIR_APP_NAME=       hex
 
+.include "../../lang/elixir/mix.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/hex/PLIST
diff -u pkgsrc/devel/hex/PLIST:1.1 pkgsrc/devel/hex/PLIST:1.2
--- pkgsrc/devel/hex/PLIST:1.1  Thu Nov 10 12:24:08 2022
+++ pkgsrc/devel/hex/PLIST      Thu Nov 10 14:23:53 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2022/11/10 12:24:08 nikita Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/11/10 14:23:53 nikita Exp $
 lib/elixir/lib/hex/ebin/Elixir.Hex.API.Auth.beam
 lib/elixir/lib/hex/ebin/Elixir.Hex.API.Key.Organization.beam
 lib/elixir/lib/hex/ebin/Elixir.Hex.API.Key.beam
@@ -116,3 +116,86 @@ lib/elixir/lib/hex/ebin/mix_hex_registry
 lib/elixir/lib/hex/ebin/mix_hex_repo.beam
 lib/elixir/lib/hex/ebin/mix_hex_tarball.beam
 lib/elixir/lib/hex/ebin/mix_safe_erl_term.beam
+lib/elixir/lib/hex/lib/hex.ex
+lib/elixir/lib/hex/lib/hex/api.ex
+lib/elixir/lib/hex/lib/hex/api/auth.ex
+lib/elixir/lib/hex/lib/hex/api/key.ex
+lib/elixir/lib/hex/lib/hex/api/package.ex
+lib/elixir/lib/hex/lib/hex/api/release.ex
+lib/elixir/lib/hex/lib/hex/api/release_docs.ex
+lib/elixir/lib/hex/lib/hex/api/short_url.ex
+lib/elixir/lib/hex/lib/hex/api/user.ex
+lib/elixir/lib/hex/lib/hex/application.ex
+lib/elixir/lib/hex/lib/hex/config.ex
+lib/elixir/lib/hex/lib/hex/crypto.ex
+lib/elixir/lib/hex/lib/hex/crypto/aes_cbc_hmac_sha2.ex
+lib/elixir/lib/hex/lib/hex/crypto/aes_gcm.ex
+lib/elixir/lib/hex/lib/hex/crypto/content_encryptor.ex
+lib/elixir/lib/hex/lib/hex/crypto/encryption.ex
+lib/elixir/lib/hex/lib/hex/crypto/key_manager.ex
+lib/elixir/lib/hex/lib/hex/crypto/pbes2_hmac_sha2.ex
+lib/elixir/lib/hex/lib/hex/crypto/pkcs5.ex
+lib/elixir/lib/hex/lib/hex/crypto/public_key.ex
+lib/elixir/lib/hex/lib/hex/dev.ex
+lib/elixir/lib/hex/lib/hex/http.ex
+lib/elixir/lib/hex/lib/hex/http/ca-bundle.crt
+lib/elixir/lib/hex/lib/hex/http/certs.ex
+lib/elixir/lib/hex/lib/hex/http/ssl.ex
+lib/elixir/lib/hex/lib/hex/http/verify_hostname.ex
+lib/elixir/lib/hex/lib/hex/mix.ex
+lib/elixir/lib/hex/lib/hex/netrc.ex
+lib/elixir/lib/hex/lib/hex/netrc/cache.ex
+lib/elixir/lib/hex/lib/hex/netrc/parser.ex
+lib/elixir/lib/hex/lib/hex/package.ex
+lib/elixir/lib/hex/lib/hex/parallel.ex
+lib/elixir/lib/hex/lib/hex/registry/server.ex
+lib/elixir/lib/hex/lib/hex/remote_converger.ex
+lib/elixir/lib/hex/lib/hex/repo.ex
+lib/elixir/lib/hex/lib/hex/scm.ex
+lib/elixir/lib/hex/lib/hex/server.ex
+lib/elixir/lib/hex/lib/hex/shell.ex
+lib/elixir/lib/hex/lib/hex/shell/process.ex
+lib/elixir/lib/hex/lib/hex/solver.ex
+lib/elixir/lib/hex/lib/hex/solver/assignment.ex
+lib/elixir/lib/hex/lib/hex/solver/constraint.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/empty.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/impl.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/range.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/union.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/util.ex
+lib/elixir/lib/hex/lib/hex/solver/constraints/version.ex
+lib/elixir/lib/hex/lib/hex/solver/failure.ex
+lib/elixir/lib/hex/lib/hex/solver/incompatibility.ex
+lib/elixir/lib/hex/lib/hex/solver/package_lister.ex
+lib/elixir/lib/hex/lib/hex/solver/package_range.ex
+lib/elixir/lib/hex/lib/hex/solver/partial_solution.ex
+lib/elixir/lib/hex/lib/hex/solver/registry.ex
+lib/elixir/lib/hex/lib/hex/solver/requirement.ex
+lib/elixir/lib/hex/lib/hex/solver/solver.ex
+lib/elixir/lib/hex/lib/hex/solver/term.ex
+lib/elixir/lib/hex/lib/hex/solver/util.ex
+lib/elixir/lib/hex/lib/hex/sponsor.ex
+lib/elixir/lib/hex/lib/hex/state.ex
+lib/elixir/lib/hex/lib/hex/stdlib.ex
+lib/elixir/lib/hex/lib/hex/tar.ex
+lib/elixir/lib/hex/lib/hex/update_checker.ex
+lib/elixir/lib/hex/lib/hex/utils.ex
+lib/elixir/lib/hex/lib/mix/task_description.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.audit.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.build.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.config.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.docs.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.info.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.install.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.organization.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.outdated.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.owner.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.package.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.publish.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.registry.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.repo.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.retire.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.search.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.sponsor.ex
+lib/elixir/lib/hex/lib/mix/tasks/hex.user.ex



Home | Main Index | Thread Index | Old Index