aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2008-01-06 01:38:59 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2008-01-06 01:38:59 +0000
commit76446cceca2519e213c0b661b3cb27d7e99c770d (patch)
tree6cc82fc5dc041274425dcd3a94b0f0a3dd55e7a5 /emulators
parent71eab782f0ab9853796460da95109c4834b0dcee (diff)
downloadports-76446cceca2519e213c0b661b3cb27d7e99c770d.tar.gz
ports-76446cceca2519e213c0b661b3cb27d7e99c770d.zip
Take care of removing /usr/local/man/de.UTF-8/man1 in case it's emtpy
(and has only been created by this port). Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=205088
Diffstat (limited to 'emulators')
-rw-r--r--emulators/wine-devel/Makefile2
-rw-r--r--emulators/wine/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/emulators/wine-devel/Makefile b/emulators/wine-devel/Makefile
index 489cfe6cbb3b..5e0ee35c0630 100644
--- a/emulators/wine-devel/Makefile
+++ b/emulators/wine-devel/Makefile
@@ -59,6 +59,8 @@ pre-build:
post-install:
${RM} -f ${MAN1PREFIX}/man/de.UTF-8/man1/wine.1
+ -${RMDIR} ${MAN1PREFIX}/man/de.UTF-8/man1
+ -${RMDIR} ${MAN1PREFIX}/man/de.UTF-8/
${MV} -f ${PREFIX}/lib/libwine.so.1.0 ${PREFIX}/lib/libwine.so.1
${LN} -sf libwine.so.1 ${PREFIX}/lib/libwine.so
.if !defined(NOPORTDOCS)
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 489cfe6cbb3b..5e0ee35c0630 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -59,6 +59,8 @@ pre-build:
post-install:
${RM} -f ${MAN1PREFIX}/man/de.UTF-8/man1/wine.1
+ -${RMDIR} ${MAN1PREFIX}/man/de.UTF-8/man1
+ -${RMDIR} ${MAN1PREFIX}/man/de.UTF-8/
${MV} -f ${PREFIX}/lib/libwine.so.1.0 ${PREFIX}/lib/libwine.so.1
${LN} -sf libwine.so.1 ${PREFIX}/lib/libwine.so
.if !defined(NOPORTDOCS)