aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-01 06:46:32 +0000
commit9741d6da4d58901bff4562ec43d68c9f4c827c4b (patch)
treee5eadb893d71812952c2325053b16f2b42af4268 /x11
parentca7294c9440ff850ae2f402e4215b797e8a621cc (diff)
downloadports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.tar.gz
ports-9741d6da4d58901bff4562ec43d68c9f4c827c4b.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/x3270/pkg-plist10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11/x3270/pkg-plist b/x11/x3270/pkg-plist
index b60f4e7878ee..6990c3572b47 100644
--- a/x11/x3270/pkg-plist
+++ b/x11/x3270/pkg-plist
@@ -18,8 +18,10 @@ lib/X11/fonts/local/3270gt24b.pcf.gz
lib/X11/fonts/local/3270gt32.pcf.gz
lib/X11/fonts/local/3270gt32b.pcf.gz
lib/X11/x3270/ibm_hosts
-@exec /bin/chmod u+w /usr/X11R6/lib/X11/fonts/local /usr/X11R6/lib/X11/fonts/local/fonts.dir
-@exec /usr/X11R6/bin/mkfontdir /usr/X11R6/lib/X11/fonts/local
-@exec /bin/chmod u=rwx,go=rx /usr/X11R6/lib/X11/fonts/local
-@exec /bin/chmod a=r /usr/X11R6/lib/X11/fonts/local/fonts.dir
+@exec /bin/chmod u+w %D/lib/X11/fonts/local %D/lib/X11/fonts/local/fonts.dir
+@exec %D/bin/mkfontdir %D/lib/X11/fonts/local
+@exec /bin/chmod u=rwx,go=rx %D/lib/X11/fonts/local
+@exec /bin/chmod a=r %D/lib/X11/fonts/local/fonts.dir
+@unexec %D/bin/mkfontdir %D/lib/X11/fonts/local
+@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@dirrm lib/X11/x3270