forked from ports/contrib
27 lines
772 B
Plaintext
27 lines
772 B
Plaintext
# Description: Source code documentation generator tool
|
|
# URL: https://www.doxygen.nl/
|
|
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
|
# Depends on: cmake python3
|
|
|
|
name=doxygen
|
|
version=1.9.5
|
|
release=1
|
|
source=(https://www.doxygen.nl/files/${name}-${version}.src.tar.gz)
|
|
|
|
build() {
|
|
prt-get isinst ninja && PKGMK_DOXYGEN+=' -G Ninja'
|
|
|
|
cmake -S ${name}-${version} -B build ${PKGMK_DOXYGEN} \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_CXX_FLAGS_RELEASE="${CXXFLAGS}" \
|
|
-D CMAKE_C_FLAGS_RELEASE="${CFLAGS}" \
|
|
-Wno-dev
|
|
cmake --build build
|
|
DESTDIR="${PKG}" cmake --install build
|
|
install -D -m 0755 "${SRC}"/${name}-${version}/doc/${name}.1 \
|
|
"${PKG}"/usr/share/man/man1/${name}.1
|
|
}
|
|
|
|
# s-sh-mode
|