Page MenuHomeFreeBSD

D3285.id7617.diff
No OneTemporary

D3285.id7617.diff

Index: ppy-gdbm/Makefile
===================================================================
--- ppy-gdbm/Makefile
+++ ppy-gdbm/Makefile
@@ -0,0 +1,33 @@
+# Created by: David Naylor <dbn@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= gdbm
+PORTVERSION= 2.6.0
+CATEGORIES= databases python
+PKGNAMEPREFIX= ppy${PYPY_VER}- #${PYTHON_PKGNAMEPREFIX}
+DISTFILES=
+
+MAINTAINER= dbn@FreeBSD.org
+COMMENT= PyPy bindings to the GNU dbm library
+
+LICENSE= MIT PSFL
+LICENSE_COMB= multi
+
+BUILD_DEPENDS= pypy:${PORTSDIR}/lang/pypy
+LIB_DEPENDS= libgdbm.so:${PORTSDIR}/databases/gdbm
+RUN_DEPENDS= pypy:${PORTSDIR}/lang/pypy
+
+PLIST_FILES= %%PYPY_DIR%%/lib_pypy/_gdbm_cffi.pypy-%%PYPY_VER%%.so
+
+PYPY_DIR= pypy-${DISTVERSION:C|([0-9])\.([0-9]).*|\1.\2|}
+PYPY_VER= ${DISTVERSION:C|([0-9])\.([0-9]).*|\1\2|}
+PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_VER=${PYPY_VER}
+
+do-build:
+ ${LOCALBASE}/bin/pypy -c "from _gdbm_build import ffi; ffi.compile('${WRKDIR}');"
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy
+ ${INSTALL_LIB} ${WRKDIR}/_gdbm_cffi.pypy-${PYPY_VER}.so ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy
+
+.include <bsd.port.mk>
Index: ppy-gdbm/pkg-descr
===================================================================
--- ppy-gdbm/pkg-descr
+++ ppy-gdbm/pkg-descr
@@ -0,0 +1 @@
+PyPy bindings to the GNU dbm library.

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 21, 9:57 PM (18 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27122776
Default Alt Text
D3285.id7617.diff (1 KB)

Event Timeline