forked from ports/contrib
shaderc: fix build when asciidoctor is installed.
This commit is contained in:
parent
ce0742282d
commit
0e7fc8dbc5
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30iuq/9PrIl7cUlsUlyR9lukH6zoWT4keYWRa8KEN/6kMbjX6g6fpZZ6KdBUiNG+yDU6BOeiD/P5DeDnz4N+sQw=
|
||||
SHA256 (Pkgfile) = 27c0cbca060999a29b9f0dc0474554503fbec6648f8aa3acbcdfa99b47e20495
|
||||
RWSagIOpLGJF3xmHJjlBtCzVb5NeEB4deERcrK/KVB8VUnSVWV7vqeCqHouRgiBoKi28tjkHX4NFJ7GrY+2gv//B5XE55ORS7QQ=
|
||||
SHA256 (Pkgfile) = 07cdbb60a0c04dadcae7e9f2db6b793444e211f0ab990731a8c8090b576d5446
|
||||
SHA256 (.footprint) = a55f4db9a8f36310df010a88256abef6d13753f525ff212c4e7dcb390e6c1e66
|
||||
SHA256 (shaderc-v2020.3.tar.gz) = e595f71d0db0c37ee959b538cfda16e39e3f0dce8893a0bc0ac0080c342c0275
|
||||
SHA256 (glslc.1) = 468467ab0ec0eac2b221563ef370826443c22cee55f11f6dc8be81b168e3e492
|
||||
|
@ -40,17 +40,18 @@ EOF
|
||||
-Wno-dev
|
||||
|
||||
cmake --build build -j ${JOBS:-1}
|
||||
|
||||
DESTDIR=$PKG cmake --install build
|
||||
|
||||
if [ -e '/usr/bin/asciidoctor' ]; then
|
||||
cd ../glslc
|
||||
cd $name-$version/glslc
|
||||
asciidoctor -b manpage README.asciidoc -o glslc.1
|
||||
install -D -m 0644 -t $PKG/usr/share/man/man1 glslc.1
|
||||
cd -
|
||||
|
||||
cd ../spvc
|
||||
cd $name-$version/spvc
|
||||
asciidoctor -b manpage README.asciidoc -o spvc.1
|
||||
install -D -m 0644 -t $PKG/usr/share/man/man1 spvc.1
|
||||
cd -
|
||||
else
|
||||
install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/glslc.1
|
||||
install -D -m 0644 -t $PKG/usr/share/man/man1 $SRC/spvc.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user