pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/elixir elixir: Fix PKGMANDIR. Add TEST_TARGET.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3069b5c066d
branches: trunk
changeset: 313843:e3069b5c066d
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Oct 11 12:10:08 2018 +0000
description:
elixir: Fix PKGMANDIR. Add TEST_TARGET.
diffstat:
lang/elixir/Makefile | 6 +++---
lang/elixir/distinfo | 4 ++--
lang/elixir/patches/patch-Makefile | 12 ++++++------
3 files changed, 11 insertions(+), 11 deletions(-)
diffs (87 lines):
diff -r 42b51b1f4a37 -r e3069b5c066d lang/elixir/Makefile
--- a/lang/elixir/Makefile Thu Oct 11 10:56:17 2018 +0000
+++ b/lang/elixir/Makefile Thu Oct 11 12:10:08 2018 +0000
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile,v 1.8 2018/09/04 13:49:25 fhajny Exp $
+# $NetBSD: Makefile,v 1.9 2018/10/11 12:10:08 jperkin Exp $
DISTNAME= elixir-1.7.3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=elixir-lang/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://elixir-lang.org/
COMMENT= Functional, meta-programming aware language built on top of Erlang VM
LICENSE= apache-2.0
-GITHUB_TAG= v${PKGVERSION_NOREV}
-
DEPENDS+= erlang>=18.0:../../lang/erlang
USE_TOOLS+= gmake
@@ -21,5 +20,6 @@
REPLACE_FILES.elixir= bin/mix
BUILD_TARGET= compile
+TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"
diff -r 42b51b1f4a37 -r e3069b5c066d lang/elixir/distinfo
--- a/lang/elixir/distinfo Thu Oct 11 10:56:17 2018 +0000
+++ b/lang/elixir/distinfo Thu Oct 11 12:10:08 2018 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.8 2018/09/04 13:49:25 fhajny Exp $
+$NetBSD: distinfo,v 1.9 2018/10/11 12:10:08 jperkin Exp $
SHA1 (elixir-1.7.3.tar.gz) = ec476ad1ef116d0dbb04d9065befad38ecfe8e1e
RMD160 (elixir-1.7.3.tar.gz) = b248cf3675a738dd063d9df110faefb6f4b5026a
SHA512 (elixir-1.7.3.tar.gz) = 67c8de5a85eefc5f7d7ed42ec8b96cb34937cea6c94eb1f2c27237fc0b4c51b2eb39d65c2a4dce4788cb6ed1879fb1839cd8d73c66be71b0b4895952dc228f05
Size (elixir-1.7.3.tar.gz) = 2140430 bytes
-SHA1 (patch-Makefile) = 10df6513be32d9ef5e62e89d80df917c4fb669a1
+SHA1 (patch-Makefile) = 815906a3d7532a95582a53d7c9ef9f42dc9d215f
diff -r 42b51b1f4a37 -r e3069b5c066d lang/elixir/patches/patch-Makefile
--- a/lang/elixir/patches/patch-Makefile Thu Oct 11 10:56:17 2018 +0000
+++ b/lang/elixir/patches/patch-Makefile Thu Oct 11 12:10:08 2018 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-Makefile,v 1.2 2018/01/30 16:27:11 fhajny Exp $
+$NetBSD: patch-Makefile,v 1.3 2018/10/11 12:10:09 jperkin Exp $
Use portable sed calls to avoid gsed.
Use pkgsrc paths for man pages.
---- Makefile.orig 2018-01-29 19:47:48.000000000 +0000
+--- Makefile.orig 2018-08-24 18:46:27.000000000 +0000
+++ Makefile
-@@ -101,7 +101,7 @@ install: compile
+@@ -109,7 +109,7 @@ install: compile
$(INSTALL_DATA) $$dir/ebin/* "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/$$dir/ebin"; \
done
$(Q) $(INSTALL_DIR) "$(DESTDIR)$(PREFIX)/$(LIBDIR)/elixir/bin"
@@ -14,7 +14,7 @@
$(Q) $(INSTALL_DIR) "$(DESTDIR)$(PREFIX)/$(BINDIR)"
$(Q) for file in "$(DESTDIR)$(PREFIX)"/$(LIBDIR)/elixir/bin/*; do \
ln -sf "../$(LIBDIR)/elixir/bin/$${file##*/}" "$(DESTDIR)$(PREFIX)/$(BINDIR)/"; \
-@@ -243,14 +243,14 @@ build_man: man/iex.1 man/elixir.1
+@@ -262,14 +262,14 @@ build_man: man/iex.1 man/elixir.1
man/iex.1:
$(Q) cp man/iex.1.in man/iex.1
@@ -33,7 +33,7 @@
$(Q) rm -f man/elixir.1.bak
clean_man:
-@@ -260,9 +260,9 @@ clean_man:
+@@ -279,9 +279,9 @@ clean_man:
rm -f man/iex.1.bak
install_man: build_man
@@ -42,7 +42,7 @@
- $(Q) $(INSTALL_DATA) man/elixirc.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1
- $(Q) $(INSTALL_DATA) man/iex.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1
- $(Q) $(INSTALL_DATA) man/mix.1 $(DESTDIR)$(SHARE_PREFIX)/man/man1
-+ $(Q) mkdir -p $(DESTDIR)$(PREFIX)/man/man1
++ $(Q) mkdir -p $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
+ $(Q) $(INSTALL_DATA) man/elixir.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
+ $(Q) $(INSTALL_DATA) man/elixirc.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
+ $(Q) $(INSTALL_DATA) man/iex.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
Home |
Main Index |
Thread Index |
Old Index