diff --git a/devel/gyp/Makefile b/devel/gyp/Makefile new file mode 100644 index 00000000000..e4d2714c435 --- /dev/null +++ b/devel/gyp/Makefile @@ -0,0 +1,28 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2012/10/13 14:53:11 abieber Exp $ + +COMMENT= generate SCons/Makefiles from platform-independent input + +DISTNAME= gyp-r1282 +PKGNAME= ${DISTNAME:S/r/0./g} + +CATEGORIES= devel + +HOMEPAGE= http://code.google.com/p/gyp/ + +MAINTAINER= Aaron Bieber + +# BSD +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://deftly.net/ + +MODULES= lang/python + +NO_CCACHE= Yes + +NO_REGRESS= Yes + +.include diff --git a/devel/gyp/distinfo b/devel/gyp/distinfo new file mode 100644 index 00000000000..125126022a5 --- /dev/null +++ b/devel/gyp/distinfo @@ -0,0 +1,2 @@ +SHA256 (gyp-r1282.tar.gz) = nxP8MMFLiDBXGS+45iNhZIyEavA4JzHo1yx/COI7Aok= +SIZE (gyp-r1282.tar.gz) = 900115 diff --git a/devel/gyp/patches/patch-gyptest_py b/devel/gyp/patches/patch-gyptest_py new file mode 100644 index 00000000000..b16f2e41cbf --- /dev/null +++ b/devel/gyp/patches/patch-gyptest_py @@ -0,0 +1,11 @@ +$OpenBSD: patch-gyptest_py,v 1.1.1.1 2012/10/13 14:53:11 abieber Exp $ +--- gyptest.py.orig Tue Oct 9 08:27:29 2012 ++++ gyptest.py Tue Oct 9 08:27:39 2012 +@@ -208,6 +208,7 @@ def main(argv=None): + format_list = { + 'freebsd7': ['make'], + 'freebsd8': ['make'], ++ 'openbsd5': ['make'], + 'cygwin': ['msvs'], + 'win32': ['msvs', 'ninja'], + 'linux2': ['make', 'ninja'], diff --git a/devel/gyp/patches/patch-pylib_gyp_common_py b/devel/gyp/patches/patch-pylib_gyp_common_py new file mode 100644 index 00000000000..5de78a0e6de --- /dev/null +++ b/devel/gyp/patches/patch-pylib_gyp_common_py @@ -0,0 +1,11 @@ +$OpenBSD: patch-pylib_gyp_common_py,v 1.1.1.1 2012/10/13 14:53:11 abieber Exp $ +--- pylib/gyp/common.py.orig Tue Oct 9 08:28:21 2012 ++++ pylib/gyp/common.py Tue Oct 9 08:28:34 2012 +@@ -355,6 +355,7 @@ def GetFlavor(params): + 'sunos5': 'solaris', + 'freebsd7': 'freebsd', + 'freebsd8': 'freebsd', ++ 'openbsd5': 'openbsd', + } + flavor = flavors.get(sys.platform, 'linux') + return params.get('flavor', flavor) diff --git a/devel/gyp/pkg/DESCR b/devel/gyp/pkg/DESCR new file mode 100644 index 00000000000..ab6700fbeb5 --- /dev/null +++ b/devel/gyp/pkg/DESCR @@ -0,0 +1 @@ +gyp is a build system used by v8 and node.js for generating projects. diff --git a/devel/gyp/pkg/PLIST b/devel/gyp/pkg/PLIST new file mode 100644 index 00000000000..1b1062c8326 --- /dev/null +++ b/devel/gyp/pkg/PLIST @@ -0,0 +1,71 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2012/10/13 14:53:11 abieber Exp $ +bin/gyp +lib/python${MODPY_VERSION}/site-packages/gyp/ +lib/python${MODPY_VERSION}/site-packages/gyp-0.1-py${MODPY_VERSION}.egg-info +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSNew.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSNew.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSProject.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSProject.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSSettings.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSSettings.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSSettings_test.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSSettings_test.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSToolFile.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSToolFile.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSUserFile.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSUserFile.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSVersion.py +lib/python${MODPY_VERSION}/site-packages/gyp/MSVSVersion.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/SCons.py +lib/python${MODPY_VERSION}/site-packages/gyp/SCons.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/__init__.py +lib/python${MODPY_VERSION}/site-packages/gyp/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/common.py +lib/python${MODPY_VERSION}/site-packages/gyp/common.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/easy_xml.py +lib/python${MODPY_VERSION}/site-packages/gyp/easy_xml.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/easy_xml_test.py +lib/python${MODPY_VERSION}/site-packages/gyp/easy_xml_test.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/ +lib/python${MODPY_VERSION}/site-packages/gyp/generator/__init__.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/__init__.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/dump_dependency_json.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/dump_dependency_json.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/gypd.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/gypd.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/gypsh.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/gypsh.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/make.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/make.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/msvs.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/msvs.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/msvs_test.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/msvs_test.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/ninja.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/ninja.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/ninja_test.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/ninja_test.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/scons.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/scons.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/generator/xcode.py +lib/python${MODPY_VERSION}/site-packages/gyp/generator/xcode.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/input.py +lib/python${MODPY_VERSION}/site-packages/gyp/input.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/mac_tool.py +lib/python${MODPY_VERSION}/site-packages/gyp/mac_tool.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/msvs_emulation.py +lib/python${MODPY_VERSION}/site-packages/gyp/msvs_emulation.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/ninja_syntax.py +lib/python${MODPY_VERSION}/site-packages/gyp/ninja_syntax.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/sun_tool.py +lib/python${MODPY_VERSION}/site-packages/gyp/sun_tool.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/system_test.py +lib/python${MODPY_VERSION}/site-packages/gyp/system_test.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/win_tool.py +lib/python${MODPY_VERSION}/site-packages/gyp/win_tool.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/xcode_emulation.py +lib/python${MODPY_VERSION}/site-packages/gyp/xcode_emulation.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/xcodeproj_file.py +lib/python${MODPY_VERSION}/site-packages/gyp/xcodeproj_file.pyc +lib/python${MODPY_VERSION}/site-packages/gyp/xml_fix.py +lib/python${MODPY_VERSION}/site-packages/gyp/xml_fix.pyc