diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2013-11-27 20:42:45 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2013-11-27 20:42:45 +0000 |
commit | 941c7e88245c3201ccf1ffecf3302e3a13eed9f6 (patch) | |
tree | 8e7d10e0cd43a01f4da9f57c3871d7862f155954 /emulators | |
parent | fe68f3965f35f66f605954990cfd780bfeac306b (diff) | |
download | ports-941c7e88245c3201ccf1ffecf3302e3a13eed9f6.tar.gz ports-941c7e88245c3201ccf1ffecf3302e3a13eed9f6.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/stonx/Makefile | 44 | ||||
-rw-r--r-- | emulators/stonx/pkg-plist | 6 |
2 files changed, 22 insertions, 28 deletions
diff --git a/emulators/stonx/Makefile b/emulators/stonx/Makefile index 31a751330952..6ab3cc3be5bc 100644 --- a/emulators/stonx/Makefile +++ b/emulators/stonx/Makefile @@ -13,7 +13,8 @@ COMMENT= AtariST emulator BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ gccmakedep:${PORTSDIR}/devel/gccmakedep \ mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ - mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale + mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale \ + ${LOCALBASE}/lib/X11/fonts/misc/10x20-ISO8859-1.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir RESTRICTED= tos.img is copyrighted @@ -26,11 +27,6 @@ CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include \ --x-libraries=${LOCALBASE}/lib ALL_TARGET= all fnttobdf tosfonts fonts -pre-build: - ${CP} ${DISTDIR}/${TOSIMG} ${WRKSRC}/tos.img - -# Installing -# BINDIR= ${PREFIX}/bin FNTDIR= ${PREFIX}/lib/X11/fonts/misc @@ -41,6 +37,11 @@ DOCS= ../COPYING AUTHORS DEBUGGING INSTALL README RELEASE_NOTES \ FONTS= System0-iso.pcf System0.pcf System1-iso.pcf System1.pcf \ System2-iso.pcf System2.pcf +.include <bsd.port.options.mk> + +pre-build: + ${CP} ${DISTDIR}/${TOSIMG} ${WRKSRC}/tos.img + post-install: .for f in ${ETCFILES} ${INSTALL_DATA} ${WRKSRC}/etc/$f ${ETCDIR}/ @@ -48,32 +49,25 @@ post-install: @${ECHO_MSG} "===> Installing fonts" .for f in ${FONTS} ${INSTALL_DATA} ${WRKSRC}/data/$f ${FNTDIR}/ - @${GZIP_CMD} ${FNTDIR}/$f -.endfor - @mkfontdir ${FNTDIR} -.if !defined(NOPORTDOCS) - @${ECHO_MSG} "===> Installing docs" - @${MKDIR} ${DOCSDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/$f ${DOCSDIR}/ -.endfor - @${MKDIR} ${EXAMPLESDIR} -.for f in ${DATA} - ${INSTALL_DATA} ${WRKSRC}/$f ${EXAMPLESDIR}/ + ${GZIP_CMD} ${FNTDIR}/$f .endfor + mkfontdir ${FNTDIR} +.if ${PORT_OPTIONS:MDOCS} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/docs/,} ${DOCSDIR}/ +.endif +.if ${PORT_OPTIONS:MEXAMPLES} + ${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${DATA:S,^,${WRKSRC}/,} ${EXAMPLESDIR}/ .endif .if (defined(DISPLAY) && ${DISPLAY} != "") - @xset fp+ ${FNTDIR} - @xset fp rehash + xset fp+ ${FNTDIR} + xset fp rehash .endif -.include <bsd.port.pre.mk> - .if !exists(${DISTDIR}/${TOSIMG}) IGNORE= please get a ROM dump from your AtariST and save it as\ "${TOSIMG}" in "${DISTDIR}" manually, and then make again .endif -BUILD_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/misc/10x20-ISO8859-1.pcf.gz:${PORTSDIR}/x11-fonts/font-misc-misc - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/emulators/stonx/pkg-plist b/emulators/stonx/pkg-plist index 6df2cf650aee..a096832e0bf4 100644 --- a/emulators/stonx/pkg-plist +++ b/emulators/stonx/pkg-plist @@ -22,10 +22,10 @@ lib/X11/fonts/misc/System2.pcf.gz %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES %%PORTDOCS%%%%DOCSDIR%%/TOS-VERSIONS -%%PORTDOCS%%%%EXAMPLESDIR%%/bench1.pas -%%PORTDOCS%%%%EXAMPLESDIR%%/bench1.prg -%%PORTDOCS%%@dirrm %%EXAMPLESDIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bench1.pas +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bench1.prg +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% @dirrm %%DATADIR%%/gemdos_c/mint @dirrm %%DATADIR%%/gemdos_c @dirrm %%DATADIR%% |