aboutsummaryrefslogtreecommitdiff
path: root/emulators/stonx
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-10-26 11:37:47 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-10-26 11:37:47 +0000
commitb57b213f452c50a56c135b4dfccde9e7094109af (patch)
treeb443c29bb7ab953ec675cd74266b3a332c8fd2b0 /emulators/stonx
parent47d9702b229b24ed9761a2dadca1b20f0e7ca709 (diff)
downloadports-b57b213f452c50a56c135b4dfccde9e7094109af.tar.gz
ports-b57b213f452c50a56c135b4dfccde9e7094109af.zip
Notes
Diffstat (limited to 'emulators/stonx')
-rw-r--r--emulators/stonx/Makefile11
-rw-r--r--emulators/stonx/files/patch-makefonts.sh10
-rw-r--r--emulators/stonx/pkg-plist3
3 files changed, 20 insertions, 4 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 921f0f3b62aa..c160e73e3f2a 100644
--- a/emulators/stonx/Makefile
+++ b/emulators/stonx/Makefile
@@ -11,13 +11,13 @@ CATEGORIES= emulators
MASTER_SITES= ftp://ftp.complang.tuwien.ac.at/pub/nino/stonx-current/
DISTNAME= STonX-0.6.7-epsilon
-BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
-
MAINTAINER= treif@mayn.de
COMMENT= AtariST emulator
+BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
+RUN_DEPENDS= mkfontdir:${X_CLIENTS_PORT}
+
RESTRICTED= "tos.img is copyrighted"
-IS_INTERACTIVE= needs running x11
TOSIMG?= tos.img
USE_X_PREFIX= yes
@@ -74,8 +74,11 @@ do-install:
.endfor
.endif
+.if (defined(DISPLAY) && ${DISPLAY} != "")
post-install:
- ${X11BASE}/bin/mkfontdir ${FNTDIR}
+ @xset fp+ ${FNTDIR}
+ @xset fp rehash
+.endif
.include <bsd.port.pre.mk>
diff --git a/emulators/stonx/files/patch-makefonts.sh b/emulators/stonx/files/patch-makefonts.sh
new file mode 100644
index 000000000000..89720389a735
--- /dev/null
+++ b/emulators/stonx/files/patch-makefonts.sh
@@ -0,0 +1,10 @@
+--- data/makefonts.sh.orig Mon May 5 03:07:30 1997
++++ data/makefonts.sh Wed Oct 26 11:30:34 2005
+@@ -4,5 +4,5 @@
+ ../fnttobdf -tr <$i | bdftopcf > `basename $i .fnt`-iso.pcf
+ done
+ mkfontdir .
+-xset fp+ `pwd`
+-xset fp rehash
++#xset fp+ `pwd`
++#xset fp rehash
diff --git a/emulators/stonx/pkg-plist b/emulators/stonx/pkg-plist
index bae716114e7b..5a50b7fadd7b 100644
--- a/emulators/stonx/pkg-plist
+++ b/emulators/stonx/pkg-plist
@@ -24,3 +24,6 @@ lib/X11/STonX/docs/RELEASE_NOTES
lib/X11/STonX/docs/TOS-VERSIONS
@dirrm lib/X11/STonX/docs
@dirrm lib/X11/STonX
+@exec mkfontdir %D/lib/X11/fonts/misc
+@exec xset fp+ %D/lib/X11/fonts/misc
+@exec xset fp rehash