diff options
author | hauke <hauke@pkgsrc.org> | 2017-11-29 16:34:40 +0000 |
---|---|---|
committer | hauke <hauke@pkgsrc.org> | 2017-11-29 16:34:40 +0000 |
commit | a0478d6e16364a9031869ee6368447c04794055f (patch) | |
tree | 19c0a0cbe224c8236d2aa8540749772705d8c177 /lang | |
parent | 006ba1feb19552f286e27479ad03fedc4dae3153 (diff) | |
download | pkgsrc-a0478d6e16364a9031869ee6368447c04794055f.tar.gz |
Clean up PLIST.
Since we install the one built file in the package Makefile, no need
to patch the dist install target.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/micropython/Makefile | 3 | ||||
-rw-r--r-- | lang/micropython/PLIST | 7 | ||||
-rw-r--r-- | lang/micropython/distinfo | 4 | ||||
-rw-r--r-- | lang/micropython/patches/patch-unix_Makefile | 19 |
4 files changed, 6 insertions, 27 deletions
diff --git a/lang/micropython/Makefile b/lang/micropython/Makefile index 6b02a60e1d9..cd36a90b906 100644 --- a/lang/micropython/Makefile +++ b/lang/micropython/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2017/11/29 15:13:31 hauke Exp $ +# $NetBSD: Makefile,v 1.4 2017/11/29 16:34:40 hauke Exp $ DISTNAME= micropython-1.9.2 +PKGREVISION= 1 CATEGORIES= lang MASTER_SITES= http://micropython.org/resources/source/ EXTRACT_SUFX= .tar.xz diff --git a/lang/micropython/PLIST b/lang/micropython/PLIST index d0d815638fa..ccdaf19bc49 100644 --- a/lang/micropython/PLIST +++ b/lang/micropython/PLIST @@ -1,7 +1,2 @@ -@comment $NetBSD: PLIST,v 1.2 2017/11/29 15:13:31 hauke Exp $ +@comment $NetBSD: PLIST,v 1.3 2017/11/29 16:34:40 hauke Exp $ bin/micropython -@pkgdir share/examples/micropython/unix -@pkgdir share/examples/micropython/network -@pkgdir share/examples/micropython/hwapi -@pkgdir share/examples/micropython/embedding -@pkgdir share/examples/micropython/SDdatalogger diff --git a/lang/micropython/distinfo b/lang/micropython/distinfo index e487682705c..964e0e60dc8 100644 --- a/lang/micropython/distinfo +++ b/lang/micropython/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2017/11/29 15:13:31 hauke Exp $ +$NetBSD: distinfo,v 1.5 2017/11/29 16:34:40 hauke Exp $ SHA1 (micropython-1.9.2/micropython-1.9.2.tar.xz) = c14b2e7ebaefe86e60f4b11cf738947cf8204fba RMD160 (micropython-1.9.2/micropython-1.9.2.tar.xz) = 9c22131546c3e49bfa28b5f71994b20ee819d094 @@ -7,6 +7,6 @@ Size (micropython-1.9.2/micropython-1.9.2.tar.xz) = 6699860 bytes SHA1 (patch-lib_utils_printf.c) = 6c152cd10a5fb0091d1149a0a50b202df6a6e931 SHA1 (patch-mpy-cross_mpconfigport.h) = 78cf0865c60bf8fbbecb318e4f0597662076459e SHA1 (patch-py_mkenv.mk) = ff844cd4bcb6f9a2a27e02a62a066b4b70899c88 -SHA1 (patch-unix_Makefile) = 51a636af55719e454f1464aa7c1c06c0808de56a +SHA1 (patch-unix_Makefile) = 459483caf54b9180f67bd07bbfa7fcf6088de1cc SHA1 (patch-unix_mpconfigport.h) = 544c0217ffcc8755adbb8c63a4b325af9b7ff8a2 SHA1 (patch-unix_mpthreadport.c) = 5a021a4b1b7426ea7bae302870a04008381ee9c7 diff --git a/lang/micropython/patches/patch-unix_Makefile b/lang/micropython/patches/patch-unix_Makefile index ff1e541990c..dae8ffd2598 100644 --- a/lang/micropython/patches/patch-unix_Makefile +++ b/lang/micropython/patches/patch-unix_Makefile @@ -1,9 +1,7 @@ -$NetBSD: patch-unix_Makefile,v 1.2 2017/11/29 15:13:32 hauke Exp $ +$NetBSD: patch-unix_Makefile,v 1.3 2017/11/29 16:34:40 hauke Exp $ cpp(1) only accepts one file for input, we want cc -E here. -Set up for pkgsrc install - --- unix/Makefile.orig 2017-08-23 01:50:11.000000000 +0000 +++ unix/Makefile @@ -73,6 +73,7 @@ LDFLAGS_ARCH = -Wl,-map,$@.map -Wl,-dead @@ -14,18 +12,3 @@ Set up for pkgsrc install endif LDFLAGS = $(LDFLAGS_MOD) $(LDFLAGS_ARCH) -lm $(LDFLAGS_EXTRA) -@@ -193,12 +194,10 @@ test: $(PROG) $(TOP)/tests/run-tests - - # install micropython in /usr/local/bin - TARGET = micropython --PREFIX = $(DESTDIR)/usr/local --BINDIR = $(PREFIX)/bin -+BINDIR = $(DESTDIR)$(PREFIX)/bin - - install: micropython -- install -d $(BINDIR) -- install $(TARGET) $(BINDIR)/$(TARGET) -+ ${BSD_INSTALL_PROGRAM} $(TARGET) $(BINDIR)/$(TARGET) - - # uninstall micropython - uninstall: |