aboutsummaryrefslogtreecommitdiffstats
path: root/print/acroread9
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2012-01-24 14:19:31 +0800
committerhrs <hrs@FreeBSD.org>2012-01-24 14:19:31 +0800
commite7aec86e229fd5740a8257aa120dbc9acf9c018b (patch)
tree74b5a53871236914aaceade3695a09d22a540522 /print/acroread9
parent00dff68b8bf463a3ecb254d0732e09ea30607d16 (diff)
downloadfreebsd-ports-gnome-e7aec86e229fd5740a8257aa120dbc9acf9c018b.tar.gz
freebsd-ports-gnome-e7aec86e229fd5740a8257aa120dbc9acf9c018b.tar.zst
freebsd-ports-gnome-e7aec86e229fd5740a8257aa120dbc9acf9c018b.zip
Create a missing directory for the manual page in the German and French version.
Spotted by: pav
Diffstat (limited to 'print/acroread9')
-rw-r--r--print/acroread9/Makefile7
-rw-r--r--print/acroread9/pkg-plist2
2 files changed, 7 insertions, 2 deletions
diff --git a/print/acroread9/Makefile b/print/acroread9/Makefile
index 1bcff0df6593..55f072241ee5 100644
--- a/print/acroread9/Makefile
+++ b/print/acroread9/Makefile
@@ -36,7 +36,8 @@ PLIST_SUB= ACRODIR=${ACRODIR} \
ADOBEBASE=${ADOBEBASE} \
PLUGINDIR=${PLUGINDIR} \
ADOBE_LANG=${ADOBE_LANG:U} \
- LOCALE_NAME=${LOCALE_NAME}
+ LOCALE_NAME=${LOCALE_NAME} \
+ MANINSTALLDIR=${MANINSTALLDIR}
SUB_FILES= ln mv rm pkg-message pkg-deinstall
SUB_LIST= ADOBE_LANG=${ADOBE_LANG:U} \
ACROBASE=${ACROBASE}
@@ -74,10 +75,12 @@ INSTALLEXEC= ${SETENV} UNAME_s=Linux \
MAN1= acroread.1
MANCOMPRESSED= yes
+MANINSTALLDIR= man/${MANLANG}
post-man-install:
+ ${MKDIR} ${MANPREFIX}/${MANINSTALLDIR}/man1
${LN} -s -f \
${INSTALLDIR}/Adobe/Reader9/Resource/Shell/acroread.1.gz \
- ${MANPREFIX}/man/${MANLANG}/man1/
+ ${MANPREFIX}/${MANINSTALLDIR}/man1/
pre-su-install:
@${MKDIR} ${WRKDIR}/bin
diff --git a/print/acroread9/pkg-plist b/print/acroread9/pkg-plist
index d017eb3a8dad..b649b578b00b 100644
--- a/print/acroread9/pkg-plist
+++ b/print/acroread9/pkg-plist
@@ -504,5 +504,7 @@
@dirrm %%ACRODIR%%
@exec /bin/mkdir -p %D/share/desktop-directories
@dirrmtry share/desktop-directories
+%%LANG_FRA%%@dirrmtry %%MANINSTALLDIR%%/man1
+%%LANG_DEU%%@dirrmtry %%MANINSTALLDIR%%/man1
@dirrmtry %%ACROBASE%%
@dirrmtry %%ADOBEBASE%%