Move the gui to a different port.

From maintainer Rafael Sadowski.  Input from sthen@, ok zhuk@.
This commit is contained in:
jca 2016-12-23 15:23:11 +00:00
parent 7b38345fa6
commit 3a7ef206f6
7 changed files with 24 additions and 49 deletions

View File

@ -1,20 +1,16 @@
# $OpenBSD: Makefile,v 1.38 2016/11/13 23:34:17 jca Exp $
# $OpenBSD: Makefile,v 1.39 2016/12/23 15:23:11 jca Exp $
# Memory hog, stuck for days on the same file (configoptions.cpp) during build.
# XXX check with different optimizer level? see doc/install.doc
NOT_FOR_ARCHS= m88k sh
BROKEN-alpha= .got subsegment exceeds 64K
COMMENT-main= source code documentation generator tool
COMMENT-gui= GUI front-end for doxygen
COMMENT= source code documentation generator tool
VERSION= 1.8.12
DISTNAME= doxygen-${VERSION}.src
PKGNAME-main= doxygen-${VERSION}
FULLPKGNAME-gui=doxygen-gui-${VERSION}
REVISION-main= 0
REVISION-gui= 0
PKGNAME= doxygen-${VERSION}
REVISION= 1
CATEGORIES= devel textproc
@ -25,33 +21,19 @@ MAINTAINER= Rafael Sadowski <rafael@sizeofvoid.org>
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += c iconv m pthread stdc++ xapian z
MASTER_SITES= http://ftp.stack.nl/pub/users/dimitri/ \
ftp://ftp.stack.nl/pub/users/dimitri/
MULTI_PACKAGES= -main -gui
PSEUDO_FLAVORS= no_gui bootstrap
WANTLIB-main += c iconv m pthread stdc++ xapian z
WANTLIB-gui += QtCore QtGui QtXml c m stdc++
LIB_DEPENDS-main= converters/libiconv \
databases/xapian-core
LIB_DEPENDS-gui= ${MODQT_LIB_DEPENDS}
RUN_DEPENDS-gui= doxygen-${VERSION}:${BUILD_PKGPATH}
LIB_DEPENDS= converters/libiconv \
databases/xapian-core
MODULES= devel/cmake \
lang/python
MODPY_RUNDEP= No
.include <bsd.port.arch.mk>
.if ${BUILD_PACKAGES:M-gui}
CONFIGURE_ARGS+=-Dbuild_wizard:Bool=ON
CONFIGURE_ARGS+=-Dforce_qt4:Bool=ON
MODULES+= x11/qt4
.endif
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
# ld(1) fails
CONFIGURE_ARGS+=-Denglish_only:Bool=ON

View File

@ -1,10 +1,12 @@
$OpenBSD: patch-doc_CMakeLists_txt,v 1.1 2016/03/01 20:36:40 jca Exp $
$OpenBSD: patch-doc_CMakeLists_txt,v 1.2 2016/12/23 15:23:11 jca Exp $
-only manual pages
- only manual pages
- remove doxywizard.1, see devel/doxygen-gui
--- doc/CMakeLists.txt.orig Tue Sep 1 14:42:06 2015
+++ doc/CMakeLists.txt Sat Jan 16 22:00:23 2016
@@ -153,13 +153,8 @@ add_custom_target(doxygen_pdf
--- doc/CMakeLists.txt.orig Sun Sep 4 19:06:42 2016
+++ doc/CMakeLists.txt Fri Dec 9 22:52:29 2016
@@ -153,33 +153,15 @@ add_custom_target(doxygen_pdf
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/latex
)
add_custom_target(docs
@ -18,10 +20,10 @@ $OpenBSD: patch-doc_CMakeLists_txt,v 1.1 2016/03/01 20:36:40 jca Exp $
VERBATIM
)
@@ -167,19 +162,7 @@ add_custom_target(docs
################################################################################
install(FILES
"${PROJECT_BINARY_DIR}/man/doxygen.1"
"${PROJECT_BINARY_DIR}/man/doxywizard.1"
- "${PROJECT_BINARY_DIR}/man/doxywizard.1"
- "${PROJECT_BINARY_DIR}/man/doxysearch.1"
- "${PROJECT_BINARY_DIR}/man/doxyindexer.1"
- DESTINATION share/man/man1

View File

@ -24,9 +24,6 @@ ports should be installed:
inheritance graphs, and the collaboration graphs.
- print/ghostscript
Flavors:
* gui -- build Qt frontend
Note:
When generating certain filenames (for example directory listing with

View File

@ -1,2 +0,0 @@
This package contains a GUI front-end for configuring and running
doxygen.

7
devel/doxygen/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.4 2016/12/23 15:23:11 jca Exp $
@pkgpath devel/doxygen,-main
@bin bin/doxyapp
@bin bin/doxygen
@bin bin/doxyindexer
@bin bin/doxysearch.cgi
@man man/man1/doxygen.1

View File

@ -1,3 +0,0 @@
@comment $OpenBSD: PLIST-gui,v 1.2 2010/11/04 20:13:10 sthen Exp $
@bin bin/doxywizard
@man man/man1/doxywizard.1

View File

@ -1,8 +0,0 @@
@comment $OpenBSD: PLIST-main,v 1.4 2016/11/12 20:50:41 jca Exp $
@pkgpath devel/doxygen,gui
@pkgpath devel/doxygen
@bin bin/doxyapp
@bin bin/doxygen
@bin bin/doxyindexer
@bin bin/doxysearch.cgi
@man man/man1/doxygen.1