mirror of
https://git.freebsd.org/ports.git
synced 2025-07-14 07:49:16 -04:00
- Build DOCS with dvipsk PR: 208983 Submitted by: maintainer Sponsored by: Essen Linuxhotel Hackathon 2016
27 lines
1.3 KiB
Bash
27 lines
1.3 KiB
Bash
--- doc/Makedoc.sh.orig 2015-10-20 11:22:17 UTC
|
|
+++ doc/Makedoc.sh
|
|
@@ -33,10 +33,10 @@ if [ "${BUILD_ENTITY_MAP}" = "true" ]; t
|
|
# Create a modified EntityMap.pm with entity-map location in doc
|
|
# build temporary dir. Need to properly install entity-map there.
|
|
mkdir $TMPDIR/Text
|
|
- make -C ../entity-map install DESTDIR="$TMPDIR"
|
|
+ ${MAKE} -C ../entity-map install DESTDIR="$TMPDIR"
|
|
sed < ../entity-map/EntityMap.pm.in > $TMPDIR/Text/EntityMap.pm \
|
|
- -e 's|\@localentitymapdir\@|'${TMPDIR}'/usr/share/entity-map|g' \
|
|
- -e 's|\@entitymapdir\@|'${TMPDIR}'/usr/share/entity-map/0.1.0|g'
|
|
+ -e 's|\@localentitymapdir\@|'${TMPDIR}${PREFIX}'/share/entity-map|g' \
|
|
+ -e 's|\@entitymapdir\@|'${TMPDIR}${PREFIX}'/share/entity-map/0.1.0|g'
|
|
|
|
# Set ${TMPDIR} first in perl load path (Will put Text dir there
|
|
# for modified EntityMap.pm), then our perl5lib
|
|
@@ -49,8 +49,8 @@ fi
|
|
if [ "${BUILD_ISO_ENTITIES}" = "true" ]; then
|
|
# --without-installed-iso-entities: Install iso-entities in
|
|
# "$TMPDIR/usr" and set it as iso-entities prefix.
|
|
- make -C ../iso-entities install DESTDIR="$TMPDIR"
|
|
- ISOENTITIES_PREFIX="${TMPDIR}/usr"
|
|
+ ${MAKE} -C ../iso-entities install DESTDIR="$TMPDIR"
|
|
+ ISOENTITIES_PREFIX="${TMPDIR}${PREFIX}"
|
|
else
|
|
# --with-installed-iso-entities: Use system prefix.
|
|
ISOENTITIES_PREFIX="${PREFIX}"
|