aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2016-12-16 15:26:44 +0800
committerdinoex <dinoex@FreeBSD.org>2016-12-16 15:26:44 +0800
commit57c1ba52c00e56cfac097f130c620aed01d1bc4f (patch)
treeeca836786b02a34039e5d3d0d0d390db04274fa9
parente3e706b5147c26a9e9b25d1ea2226299d390b3e5 (diff)
downloadfreebsd-ports-gnome-57c1ba52c00e56cfac097f130c620aed01d1bc4f.tar.gz
freebsd-ports-gnome-57c1ba52c00e56cfac097f130c620aed01d1bc4f.tar.zst
freebsd-ports-gnome-57c1ba52c00e56cfac097f130c620aed01d1bc4f.zip
- use FONTNAME
-rw-r--r--emulators/stonx/Makefile9
-rw-r--r--emulators/stonx/pkg-plist12
2 files changed, 10 insertions, 11 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile
index 05c4de4e5b7c..05ff0085b3b0 100644
--- a/emulators/stonx/Makefile
+++ b/emulators/stonx/Makefile
@@ -22,7 +22,7 @@ RESTRICTED= Contains ROM (C) by Atari
TOSIMG?= tos.img
USES= fonts
-FONTNAME= # empty
+FONTNAME= misc
USE_XORG= x11 sm ice xext xextproto
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \
@@ -30,7 +30,6 @@ CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \
ALL_TARGET= all fnttobdf tosfonts fonts
BINDIR= ${PREFIX}/bin
-FNTDIR= ${PREFIX}/share/fonts/misc
DATA= atari/bench1.pas atari/bench1.prg
ETCFILES= keysyms-alternative keysyms-german keysyms-spanish
@@ -51,10 +50,10 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/etc/$f ${STAGEDIR}${ETCDIR}/
.endfor
@${ECHO_MSG} "===> Installing fonts"
- ${MKDIR} ${STAGEDIR}${FNTDIR}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
.for f in ${FONTS}
- ${INSTALL_DATA} ${WRKSRC}/data/$f ${STAGEDIR}${FNTDIR}/
- ${GZIP_CMD} ${STAGEDIR}${FNTDIR}/$f
+ ${INSTALL_DATA} ${WRKSRC}/data/$f ${STAGEDIR}${FONTSDIR}/
+ ${GZIP_CMD} ${STAGEDIR}${FONTSDIR}/$f
.endfor
post-install-DOCS-on:
diff --git a/emulators/stonx/pkg-plist b/emulators/stonx/pkg-plist
index 9e5f8f597ddc..194c1bf8895b 100644
--- a/emulators/stonx/pkg-plist
+++ b/emulators/stonx/pkg-plist
@@ -9,12 +9,12 @@ bin/stonx
%%DATADIR%%/gemdos_c/final.tos
%%DATADIR%%/gemdos_c/mint/stonx.xfs
%%DATADIR%%/tos.img
-%%FONTSDIR%%/misc/System0-iso.pcf.gz
-%%FONTSDIR%%/misc/System0.pcf.gz
-%%FONTSDIR%%/misc/System1-iso.pcf.gz
-%%FONTSDIR%%/misc/System1.pcf.gz
-%%FONTSDIR%%/misc/System2-iso.pcf.gz
-%%FONTSDIR%%/misc/System2.pcf.gz
+%%FONTSDIR%%/System0-iso.pcf.gz
+%%FONTSDIR%%/System0.pcf.gz
+%%FONTSDIR%%/System1-iso.pcf.gz
+%%FONTSDIR%%/System1.pcf.gz
+%%FONTSDIR%%/System2-iso.pcf.gz
+%%FONTSDIR%%/System2.pcf.gz
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/DEBUGGING