summaryrefslogtreecommitdiff
path: root/lang/likepython
diff options
context:
space:
mode:
authoris <is@pkgsrc.org>2010-03-01 11:07:50 +0000
committeris <is@pkgsrc.org>2010-03-01 11:07:50 +0000
commita3ca6916cc38c55315799e7d3decbccaaf1535b7 (patch)
treeac8f2b89c0d242604b9143fbcf64c21492f7276a /lang/likepython
parent03cde4981e0073c1b5d093b2f963479aee35f97c (diff)
downloadpkgsrc-a3ca6916cc38c55315799e7d3decbccaaf1535b7.tar.gz
OMG! It's like Python, but like, you know, casual!
Diffstat (limited to 'lang/likepython')
-rw-r--r--lang/likepython/DESCR4
-rw-r--r--lang/likepython/Makefile42
-rw-r--r--lang/likepython/PLIST4
-rw-r--r--lang/likepython/distinfo5
4 files changed, 55 insertions, 0 deletions
diff --git a/lang/likepython/DESCR b/lang/likepython/DESCR
new file mode 100644
index 00000000000..c149b27d380
--- /dev/null
+++ b/lang/likepython/DESCR
@@ -0,0 +1,4 @@
+OMG! It's like Python, but like, you know, casual!
+
+Now you can toootally do just about everything you can do in that
+old, uptight language Python, but be like, so cool about it, bro!
diff --git a/lang/likepython/Makefile b/lang/likepython/Makefile
new file mode 100644
index 00000000000..2a9d385c7d0
--- /dev/null
+++ b/lang/likepython/Makefile
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/03/01 11:07:50 is Exp $
+#
+
+VER= 0.1
+DISTNAME= likepython_${VER}
+PKGNAME= likepython-${VER}
+
+CATEGORIES= lang
+MASTER_SITES= http://www.staringispolite.com/likepython/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= is@netbsd.org
+HOMEPAGE= http://www.staringispolite.com/likepython/
+COMMENT= OMG! It's like Python, but like, you know, casual!
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR} # More than one possibility -- please check manually.
+
+REPLACE_PYTHON= likepython
+
+SUBST_CLASSES+= fix-runt-interp
+SUBST_STAGE.fix-runt-interp= pre-configure
+SUBST_MESSAGE.fix-runt-interp= Fixing runtime python interpreter path.
+SUBST_FILES.fix-runt-interp= likepython
+SUBST_SED.fix-runt-interp= -e '/call/s,python,${PYTHONBIN},g'
+
+
+NO_BUILD= yes
+
+INSTALLATION_DIRS= share/examples/likepython share/doc/likepython
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL_SCRIPT} likepython ${DESTDIR}${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_DATA} README ${DESTDIR}${PREFIX}/share/doc/likepython
+ cd ${WRKSRC} && ${INSTALL_DATA} hello_world.lp ${DESTDIR}${PREFIX}/share/examples/likepython
+
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/application.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lang/likepython/PLIST b/lang/likepython/PLIST
new file mode 100644
index 00000000000..12a949661ae
--- /dev/null
+++ b/lang/likepython/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/01 11:07:50 is Exp $
+bin/likepython
+share/doc/likepython/README
+share/examples/likepython/hello_world.lp
diff --git a/lang/likepython/distinfo b/lang/likepython/distinfo
new file mode 100644
index 00000000000..9e9db34bd20
--- /dev/null
+++ b/lang/likepython/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/03/01 11:07:50 is Exp $
+
+SHA1 (likepython_0.1.tgz) = 56f7f54b7232595e23d2e1f5f15cb1e7edddcdcb
+RMD160 (likepython_0.1.tgz) = 492c525bd0e3a39bcdd204fb1218dafef6a2ca80
+Size (likepython_0.1.tgz) = 2663 bytes