if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile,v 1.20 2021/02/23 19:39:14 sthen 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= GUI front-end for doxygen
|
|
|
|
VERSION= 1.9.1
|
|
DISTNAME= doxygen-${VERSION}.src
|
|
PKGNAME= doxygen-gui-${VERSION}
|
|
|
|
CATEGORIES= devel textproc
|
|
|
|
HOMEPAGE= http://www.doxygen.org/
|
|
|
|
MAINTAINER= Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Gui Qt5Widgets Qt5Xml
|
|
WANTLIB += c m
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
MASTER_SITES= http://doxygen.nl/files/
|
|
|
|
LIB_DEPENDS= ${MODQT_LIB_DEPENDS}
|
|
|
|
MODULES= devel/cmake \
|
|
x11/qt5 \
|
|
lang/python
|
|
|
|
MODPY_RUNDEP= No
|
|
|
|
.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
|
|
CXXFLAGS+= -mxgot
|
|
.endif
|
|
|
|
BUILD_DEPENDS+= devel/bison \
|
|
devel/git \
|
|
converters/libiconv
|
|
|
|
RUN_DEPENDS= devel/doxygen
|
|
|
|
CONFIGURE_ARGS= -Dbuild_wizard=ON \
|
|
|
|
WRKDIST= ${WRKDIR}/doxygen-${VERSION}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/bin/doxywizard ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/doxywizard.1 ${PREFIX}/man/man1/
|
|
|
|
.include <bsd.port.mk>
|