Skip to content

Commit

Permalink
tagainijisho: correct depends; add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kurthindenburg committed Aug 15, 2024
1 parent 946f9f9 commit 83f920a
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions aqua/tagainijisho/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ PortGroup qt5 1.0
github.setup Gnurou tagainijisho 1.2.2
license GPL-3+
categories aqua education japanese
platforms darwin
maintainers nomaintainer
maintainers {khindenburg @kurthindenburg} openmaintainer

description A free Japanese dictionary and study assistant

Expand All @@ -33,8 +32,11 @@ checksums rmd160 83a9ecc7f1d5b5ba0ec6871c66a79e2590bb14e0 \
sha256 10fa6aa3a2e0eea0f4456236ac3020db73c76f65cb31a76ad74a107b2d739003 \
size 32366512

# To build docs
depends_build-append port:multimarkdown

# Needed for Qt5LinguistTools
depends_lib-append port:qt5-qttools
qt5.depends_component qttools

patchfiles patch-CMakeLists.txt.diff \
patch-gui-CMakeLists.txt.diff \
Expand All @@ -43,14 +45,17 @@ patchfiles patch-CMakeLists.txt.diff \
configure.pre_args -DCMAKE_INSTALL_PREFIX=${applications_dir}

post-destroot {
# file copy ${cmake.build_dir}/src/gui/Tagaini\ Jisho.app \
# ${destroot}${applications_dir}/Tagaini\ Jisho.app
file copy ${filespath}/qt.conf \
${destroot}${applications_dir}/Tagaini\ Jisho.app/Contents/Resources/

set docdir ${prefix}/share/doc/${name}

xinstall -d ${destroot}${docdir}/html
xinstall -d ${destroot}${docdir}/html/images
xinstall -m 0444 {*}[glob ${worksrcpath}/doc/*.html] \
${destroot}${docdir}/html
xinstall -m 0444 {*}[glob ${worksrcpath}/doc/images/*.png] \
${destroot}${docdir}/html/images
xinstall -m 0644 -W ${worksrcpath} COPYING.txt ChangeLog README.md \
${destroot}${docdir}
}
#destroot {
# file copy ${cmake.build_dir}/src/gui/Tagaini\ Jisho.app \
# ${destroot}${applications_dir}/Tagaini\ Jisho.app
# file copy ${filespath}/qt.conf \
# ${destroot}${applications_dir}/Tagaini\ Jisho.app/Contents/Resources/
#}

0 comments on commit 83f920a

Please sign in to comment.