mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
GeneratorRunner is a tool that eases the development of binding generators
for C++ and Qt-based libraries by providing a framework to help automating most of the process. It uses the ApiExtractor library to parse the header files and manipulate the classes information while generating the binding code using front-end modules provided by the user. GeneratorRunner is based on the QtScriptGenerator project WWW: http://www.pyside.org/docs/generatorrunner/
This commit is contained in:
parent
03d5abef50
commit
fc91609bb4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=287622
@ -460,6 +460,7 @@
|
||||
SUBDIR += gearmand
|
||||
SUBDIR += gecode
|
||||
SUBDIR += generate
|
||||
SUBDIR += generatorrunner
|
||||
SUBDIR += gengetopt
|
||||
SUBDIR += genproto
|
||||
SUBDIR += gettext
|
||||
|
38
devel/generatorrunner/Makefile
Normal file
38
devel/generatorrunner/Makefile
Normal file
@ -0,0 +1,38 @@
|
||||
# New ports collection makefile for: generatorrunner
|
||||
# Date created: 2011-03-21
|
||||
# Whom: Nicola Vitale <nivit@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= generatorrunner
|
||||
PORTVERSION= 0.6.15
|
||||
#PORTREVISION= 0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.pyside.org/files/ \
|
||||
http://nivi.interfree.it/distfiles/${PORTNAME}/
|
||||
|
||||
MAINTAINER= nivit@FreeBSD.org
|
||||
COMMENT= Tool to create binding generators for C++ and Qt libraries
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= sphinx-build:${PORTSDIR}/textproc/py-sphinx
|
||||
LIB_DEPENDS= apiextractor.0:${PORTSDIR}/devel/apiextractor
|
||||
|
||||
.if !defined(NO_INSTALL_MANPAGES)
|
||||
MAN1= docgenerator.1 generatorrunner.1
|
||||
.else
|
||||
CMAKE_ARGS= -DNO_INSTALL_MANPAGES:BOOL=ON
|
||||
.endif
|
||||
|
||||
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
||||
|
||||
QT_COMPONENTS= gui qmake_build qtestlib moc_build rcc_build uic_build xml
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_CMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
USE_QT_VER= 4
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/generatorrunner/distinfo
Normal file
2
devel/generatorrunner/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (generatorrunner-0.6.15.tar.bz2) = a2e10fd90a99a070ae80b2d4d7c6654ac60a8eaa8af7fe152d441dac69da5e71
|
||||
SIZE (generatorrunner-0.6.15.tar.bz2) = 282551
|
11
devel/generatorrunner/files/patch-CMakeLists.txt
Normal file
11
devel/generatorrunner/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./CMakeLists.txt.orig 2011-11-18 21:38:22.000000000 +0100
|
||||
+++ ./CMakeLists.txt 2011-12-18 18:34:11.000000000 +0100
|
||||
@@ -41,7 +41,7 @@
|
||||
set(generator_MINOR_VERSION "6")
|
||||
set(generator_MICRO_VERSION "15")
|
||||
set(generator_VERSION "${generator_MAJOR_VERSION}.${generator_MINOR_VERSION}.${generator_MICRO_VERSION}")
|
||||
-set(generator_SOVERSION "${generator_MAJOR_VERSION}.${generator_MINOR_VERSION}")
|
||||
+set(generator_SOVERSION "${generator_MAJOR_VERSION}")
|
||||
set(USE_GENERATOR_VERSION_SUFFIX FALSE CACHE BOOL "This suffix allow to have various generator version installed simultaneous.")
|
||||
if (ENABLE_VERSION_SUFFIX)
|
||||
set(generator_SUFFIX "-${generator_MAJOR_VERSION}.${generator_MINOR_VERSION}")
|
21
devel/generatorrunner/files/patch-data__CMakeLists.txt
Normal file
21
devel/generatorrunner/files/patch-data__CMakeLists.txt
Normal file
@ -0,0 +1,21 @@
|
||||
--- ./data/CMakeLists.txt.orig 2011-11-18 21:38:22.000000000 +0100
|
||||
+++ ./data/CMakeLists.txt 2011-12-18 18:34:31.000000000 +0100
|
||||
@@ -7,7 +7,7 @@
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/GeneratorRunnerConfigVersion.cmake" @ONLY)
|
||||
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/generatorrunner${generator_SUFFIX}.pc" DESTINATION
|
||||
- "${LIB_INSTALL_DIR}/pkgconfig")
|
||||
+ "${LIB_INSTALL_DIR}data/pkgconfig")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/GeneratorRunnerConfig.cmake"
|
||||
DESTINATION "${LIB_INSTALL_DIR}/cmake/GeneratorRunner-${generator_VERSION}")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/GeneratorRunnerConfigVersion.cmake"
|
||||
@@ -20,6 +20,7 @@
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/generatorrunner${generator_SUFFIX}.1")
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/generatorrunner.pc.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/generatorrunner${generator_SUFFIX}.pc" @ONLY)
|
||||
-
|
||||
+if(NOT NO_INSTALL_MANPAGES)
|
||||
file(GLOB manpages "${CMAKE_CURRENT_BINARY_DIR}/*${generator_SUFFIX}.1")
|
||||
-install(FILES ${manpages} DESTINATION share/man/man1)
|
||||
+install(FILES ${manpages} DESTINATION man/man1)
|
||||
+endif()
|
9
devel/generatorrunner/pkg-descr
Normal file
9
devel/generatorrunner/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
GeneratorRunner is a tool that eases the development of binding generators
|
||||
for C++ and Qt-based libraries by providing a framework to help automating
|
||||
most of the process. It uses the ApiExtractor library to parse the header
|
||||
files and manipulate the classes information while generating the binding
|
||||
code using front-end modules provided by the user.
|
||||
|
||||
GeneratorRunner is based on the QtScriptGenerator project
|
||||
|
||||
WWW: http://www.pyside.org/docs/generatorrunner/
|
14
devel/generatorrunner/pkg-plist
Normal file
14
devel/generatorrunner/pkg-plist
Normal file
@ -0,0 +1,14 @@
|
||||
bin/docgenerator
|
||||
bin/generatorrunner
|
||||
include/generatorrunner/generator.h
|
||||
include/generatorrunner/generatorrunnermacros.h
|
||||
lib/cmake/GeneratorRunner-%%PORTVERSION%%/GeneratorRunnerConfig.cmake
|
||||
lib/cmake/GeneratorRunner-%%PORTVERSION%%/GeneratorRunnerConfigVersion.cmake
|
||||
lib/generatorrunner/qtdoc_generator.so
|
||||
lib/libgenrunner.so
|
||||
lib/libgenrunner.so.0
|
||||
lib/libgenrunner.so.%%PORTVERSION%%
|
||||
libdata/pkgconfig/generatorrunner.pc
|
||||
@dirrm lib/generatorrunner
|
||||
@dirrm lib/cmake/GeneratorRunner-%%PORTVERSION%%
|
||||
@dirrm include/generatorrunner
|
Loading…
Reference in New Issue
Block a user