diff options
author | tron <tron@pkgsrc.org> | 1998-05-14 21:54:02 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-05-14 21:54:02 +0000 |
commit | 756a9f784c6abe50e4c9059126b09d19088ba20f (patch) | |
tree | 54ef90114da5bde66c5e59271a443bca0236145e /misc | |
parent | abdead7f98b0443cfc3b2acd88fa7781e2608b60 (diff) | |
download | pkgsrc-756a9f784c6abe50e4c9059126b09d19088ba20f.tar.gz |
Add "py-readline" package made by Jaromir Dolecek.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/py-readline/Makefile | 35 | ||||
-rw-r--r-- | misc/py-readline/files/Setup.in | 2 | ||||
-rw-r--r-- | misc/py-readline/files/md5 | 1 | ||||
-rw-r--r-- | misc/py-readline/pkg/COMMENT | 1 | ||||
-rw-r--r-- | misc/py-readline/pkg/DESCR | 2 | ||||
-rw-r--r-- | misc/py-readline/pkg/PLIST | 2 |
6 files changed, 43 insertions, 0 deletions
diff --git a/misc/py-readline/Makefile b/misc/py-readline/Makefile new file mode 100644 index 00000000000..4bbe8bb4f8a --- /dev/null +++ b/misc/py-readline/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1 1998/05/14 21:54:02 tron Exp $ +# + +DISTNAME= pyth151 +PKGNAME= py-readline-1.5.1 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.python.org/pub/python/src/ +EXTRACT_SUFX= .tgz + +MAINTAINER= dolecek@ics.muni.cz + +DEPENDS+= python-1.5.1:../../lang/python +DEPENDS+= readline-2.2:../../devel/readline + +WRKSRC= ${WRKDIR}/Python-1.5.1/Modules +ALL_TARGET= default +EXTRACT_AFTER_ARGS= Python-1.5.1/Modules/readline.c + +PYTHON_CONFIGDIR= ${LOCALBASE}/lib/python1.5/config + +.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha" +IGNORE="Needs dynamic loading" +.endif + +do-configure: + ${SED} 's%@LOCALBASE@%${LOCALBASE}%g' ${FILESDIR}/Setup.in \ + >${WRKSRC}/Setup.in + (cd ${WRKSRC}; \ + ${LN} -s ${PYTHON_CONFIGDIR}/Makefile.pre.in; \ + ${MAKE} -f Makefile.pre.in boot) + +do-install: + ${INSTALL_DATA} ${WRKSRC}/readline.so ${LOCALBASE}/lib/python1.5/lib-dynload + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/py-readline/files/Setup.in b/misc/py-readline/files/Setup.in new file mode 100644 index 00000000000..c99bf64304d --- /dev/null +++ b/misc/py-readline/files/Setup.in @@ -0,0 +1,2 @@ +*shared* +readline readline.c -L@LOCALBASE@/lib -I@LOCALBASE@/include -lreadline -ltermcap diff --git a/misc/py-readline/files/md5 b/misc/py-readline/files/md5 new file mode 100644 index 00000000000..63166bf98ac --- /dev/null +++ b/misc/py-readline/files/md5 @@ -0,0 +1 @@ +MD5 (pyth151.tgz) = eb8ef6e37e543058a2d47996ecf62427 diff --git a/misc/py-readline/pkg/COMMENT b/misc/py-readline/pkg/COMMENT new file mode 100644 index 00000000000..ce9d0a1e980 --- /dev/null +++ b/misc/py-readline/pkg/COMMENT @@ -0,0 +1 @@ +line editing support for Python diff --git a/misc/py-readline/pkg/DESCR b/misc/py-readline/pkg/DESCR new file mode 100644 index 00000000000..2e171893d8c --- /dev/null +++ b/misc/py-readline/pkg/DESCR @@ -0,0 +1,2 @@ +This module adds line-editing features to Python. This is handy +mainly in interactive mode of Python. diff --git a/misc/py-readline/pkg/PLIST b/misc/py-readline/pkg/PLIST new file mode 100644 index 00000000000..1c73bbb1d18 --- /dev/null +++ b/misc/py-readline/pkg/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 1998/05/14 21:54:04 tron Exp $ +lib/python1.5/lib-dynload/readline.so |