pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/elixir
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Oct 11 12:10:09 UTC 2018
Modified Files:
pkgsrc/lang/elixir: Makefile distinfo
pkgsrc/lang/elixir/patches: patch-Makefile
Log Message:
elixir: Fix PKGMANDIR. Add TEST_TARGET.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/elixir/Makefile \
pkgsrc/lang/elixir/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/elixir/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/elixir/Makefile
diff -u pkgsrc/lang/elixir/Makefile:1.8 pkgsrc/lang/elixir/Makefile:1.9
--- pkgsrc/lang/elixir/Makefile:1.8 Tue Sep 4 13:49:25 2018
+++ pkgsrc/lang/elixir/Makefile Thu Oct 11 12:10:08 2018
@@ -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.elixir.new= ${PREFIX}/bin/elixir
REPLACE_FILES.elixir= bin/mix
BUILD_TARGET= compile
+TEST_TARGET= test
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/elixir/distinfo
diff -u pkgsrc/lang/elixir/distinfo:1.8 pkgsrc/lang/elixir/distinfo:1.9
--- pkgsrc/lang/elixir/distinfo:1.8 Tue Sep 4 13:49:25 2018
+++ pkgsrc/lang/elixir/distinfo Thu Oct 11 12:10:08 2018
@@ -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
Index: pkgsrc/lang/elixir/patches/patch-Makefile
diff -u pkgsrc/lang/elixir/patches/patch-Makefile:1.2 pkgsrc/lang/elixir/patches/patch-Makefile:1.3
--- pkgsrc/lang/elixir/patches/patch-Makefile:1.2 Tue Jan 30 16:27:11 2018
+++ pkgsrc/lang/elixir/patches/patch-Makefile Thu Oct 11 12:10:09 2018
@@ -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 @@ Use pkgsrc paths for man pages.
$(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 @@ Use pkgsrc paths for man pages.
$(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 @@ Use pkgsrc paths for man pages.
- $(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