pkgsrc/x11/py-qt3-sip/Makefile

51 lines
1.3 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.9 2004/10/03 00:18:37 tv Exp $
#
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
DISTNAME= sip-4.0rc3
PKGNAME= ${PYPKGPREFIX}-qt3-${DISTNAME}
PKGREVISION= 1
CATEGORIES= x11 devel python
MASTER_SITES= http://www.river-bank.demon.co.uk/download/sip/
2003-07-18 00:50:55 +02:00
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.riverbankcomputing.co.uk/sip/index.php
COMMENT= Tool to create Python bindings for C++ libraries
CONFLICTS+= ${PYPKGPREFIX}-qt2-sip-*
# needs qmake
BUILD_DEPENDS+= qt3-tools-3.*:../../x11/qt3-tools
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
USE_BUILDLINK3= yes
USE_X11= yes
USE_LIBTOOL= yes
USE_GNU_TOOLS+= make
USE_LANGUAGES= c c++
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
CONFIGURE_ARGS= -b ${PREFIX}/bin
CONFIGURE_ARGS+= -d ${PREFIX}/${PYSITELIB}
CONFIGURE_ARGS+= -e ${PREFIX}/${PYINC}
CONFIGURE_ARGS+= -v ${PREFIX}/share/sip${PYVERSSUFFIX}
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
PYTHON_VERSIONS_ACCEPTED= 23pth
PY_PATCHPLIST= yes
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
CONFIGURE_ARGS+= CFLAGS_SHLIB=-fPIC
CONFIGURE_ARGS+= LFLAGS_SHLIB=-shared
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
SUBST_CLASSES+= pyversfx
SUBST_STAGE.pyversfx= pre-configure
SUBST_FILES.pyversfx= sipgen/sipgen.sbf
SUBST_SED.pyversfx= -e "s|@PYVERSSUFFIX@|${PYVERSSUFFIX}|g"
do-configure:
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
${PYTHONBIN} configure.py ${CONFIGURE_ARGS})
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
update py-qt3-sip to 4.0rc3 and bl3ify 4.0 (guessing from ChangeLog since the NEWS file is empty) - needs Python >= 2.3 - more documentation - new build system - Darwin/OSX support v3.10.1 11th March 2004 Bug fixes only - see the ChangeLog file for details. v3.10 16th January 2004 Added the asstring() method to the sip.voidptr type. v3.9 7th December 2003 Added the -w flag to sip to enable warning messages. Added the -j flag to sip to concatanated source files. %Import, %Include and %OptionalInclude can now take a relative (UNIX style) pathname. The directory containing the file will also be searched for files that it itself includes or imports. Added %MethodCode and deprecated %MemberCode. Deprecated %Makefile and %ExportedHeaderCode. Added %TypeHeaderCode as a synonym for the deprecated %HeaderCode in type definitions. Added %ModuleHeaderCode as a synonym for the deprecated %HeaderCode in module definitions. Added %ModuleCode as a synonym for the deprecated %C++Code in module definitions. Added %TypeCode as a synonym for the deprecated %C++Code in type definitions. Added %PostInitialisationCode as a synonym for the deprecated %PostInitialisationC++Code. Added support for functions that return values via pointers and references. Added support for structs within classes. Added support for %AccessCode and deprecated %VariableCode. Added support for %VirtualCatcherCode and deprecated %VirtualCode. Added support for explicit C++ signatures. Added the SIP_SLOT, SIP_QOBJECT, SIP_PYCALLABLE, SIP_PYTUPLE, SIP_PYLIST and SIP_PYDICT types. Added /PreHook/ and /PostHook/ to ctors. Added /TransferBack/ for function results. Added /AllowNone/ and /GetWrapper/ to arguments. Added sipTrace(), sipBadCatcherResult(), sipParseResult(), sipCallMethod(), sipGetWrapper(), sipTransfer(), sipClassName() and sipBuildResult() to the module API. Added SIP_VERSION and SIP_BUILD to sip.h. A new (configure.py) build system has been added which is independent of tmake and qmake and installs a sipconfig module. The old (build.py) build system also installs a (different and incompatible) sipconfig module. SIP is now licensed under a single Python-like license.
2004-05-09 19:04:22 +02:00
.include "../../x11/qt3-libs/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"