# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # emkatic # emkatic/Makefile # emkatic/distinfo # emkatic/pkg-message # emkatic/pkg-plist # emkatic/pkg-descr # echo c - emkatic mkdir -p emkatic > /dev/null 2>&1 echo x - emkatic/Makefile sed 's/^X//' >emkatic/Makefile << '345b8289ed7687d48b8b98f0416969fe' X# Created by: Andrey Fesenko X# $FreeBSD$ X XPORTNAME= emkatic XPORTVERSION= 0.16 XCATEGORIES= russian emulators XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME}/eMKatic%20Source XPKGNAMEPREFIX= ru- XDISTNAME= ${PORTNAME}-${PORTVERSION}-src X XMAINTAINER= andrey@bsdnir.info XCOMMENT= Novosibirsk RPN programmable calculators Elektronika graphics emulator X XLICENSE= GPLv3 X XBUILD_DEPENDS= lazbuild:${PORTSDIR}/editors/lazarus \ X fpcres:${PORTSDIR}/lang/fpc-utils X XUSE_FPC= yes X XPROJECT_FILE= emkatic.lpi XLAZARUS_VER= 1.2.4 XLAZBUILD_CMD= ${LOCALBASE}/bin/lazbuild -d --pcp=${WRKSRC}/tmppcp XLAZARUS_DIR= ${LOCALBASE}/share/lazarus-${LAZARUS_VER} XBUILD_MODE= SrcDist X XOPTIONS_DEFINE= PORTAUDIO XOPTIONS_DEFAULT= PORTAUDIO XPORTAUDIO_DESC= PortAudio library support X X.include X X.if ${PORT_OPTIONS:MPORTAUDIO} XRUN_DEPENDS= portaudio2>0:${PORTSDIR}/audio/portaudio2 XAUDIO= "portaudio2" XPORTAUDIOLIB= portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 X.endif X Xdo-build: X @cd ${WRKSRC} && \ X ${LAZBUILD_CMD} --bm="${BUILD_MODE}" --lazarusdir=${LAZARUS_DIR} ${PROJECT_FILE} X Xdo-install: X @cd ${WRKSRC} && \ X ${INSTALL_PROGRAM} emkatic ${STAGEDIR}${PREFIX}/bin X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include 345b8289ed7687d48b8b98f0416969fe echo x - emkatic/distinfo sed 's/^X//' >emkatic/distinfo << 'bffb16cf279fe25cd8b5854d089ab460' XSHA256 (emkatic-0.16-src.tar.gz) = 5360ea3abe2d73330edd4e753bfe1af227eb1e08f5f6828041a682293ebd4633 XSIZE (emkatic-0.16-src.tar.gz) = 379658 bffb16cf279fe25cd8b5854d089ab460 echo x - emkatic/pkg-message sed 's/^X//' >emkatic/pkg-message << 'af0346416d07bfea9431264e3f8353bc' XSpeaker sound Support: X====================== X XFor support speaker sound four user needs to be in the operator group and needs read and write permissions to the /dev/speaker device. X XLoad kernel modul: X X# kldload speaker X XAdd a user to a group operator's: X X% pw groupmod operator -m jerry X XUncomment the following lines in the file /etc/devfs.rules (create if it doesn't exist): X X# Allow members of group operator to cat things to the speaker Xown speaker root:operator Xperm speaker 0660 X XThen restart devfs to load the new rules: X X% /etc/rc.d/devfs restart X XSound an eternal program X======================== X XExternal program audio/beep (need load and confugured speaker, see Speaker sound) X XAt the setting of the emulator should specify: X Xbeep -p X Xbeep -p 1 0 X af0346416d07bfea9431264e3f8353bc echo x - emkatic/pkg-plist sed 's/^X//' >emkatic/pkg-plist << 'f5a0a0b0f6e5137d15cff983623b78a4' Xbin/emkatic f5a0a0b0f6e5137d15cff983623b78a4 echo x - emkatic/pkg-descr sed 's/^X//' >emkatic/pkg-descr << '94d1503cc57140e8478401392776d8cc' XAn emulator for the Elektronika MK-152, MK-152M, MK-1152, MK-161 calculators. XElektronika MK this RPN programmable calculator now manufactured in the Russia, Xsuccessor serie RPN calculators which was manufactured in the Soviet Union. X XThe emulator supports theming (skins). XPossible to save and load program, calculate data and user data. X Xsupport only russian language X XWWW: http://sourceforge.net/projects/emkatic/ 94d1503cc57140e8478401392776d8cc exit