diff options
Diffstat (limited to 'devel/pikdev')
-rw-r--r-- | devel/pikdev/Makefile | 61 | ||||
-rw-r--r-- | devel/pikdev/distinfo | 2 | ||||
-rw-r--r-- | devel/pikdev/files/patch-pikdev_Config.cpp | 29 | ||||
-rw-r--r-- | devel/pikdev/files/patch-pikdev_uparport.cc | 163 | ||||
-rw-r--r-- | devel/pikdev/files/patch-pikdev_uparport.hh | 16 | ||||
-rw-r--r-- | devel/pikdev/files/pkg-message.in | 21 | ||||
-rw-r--r-- | devel/pikdev/pkg-descr | 6 | ||||
-rw-r--r-- | devel/pikdev/pkg-plist | 48 |
8 files changed, 0 insertions, 346 deletions
diff --git a/devel/pikdev/Makefile b/devel/pikdev/Makefile deleted file mode 100644 index 95398b3d18ad..000000000000 --- a/devel/pikdev/Makefile +++ /dev/null @@ -1,61 +0,0 @@ -# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> -# $FreeBSD$ - -PORTNAME= pikdev -PORTVERSION= 0.9.2 -PORTREVISION= 9 -CATEGORIES= devel kde -MASTER_SITES= http://pikdev.free.fr/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-1 - -MAINTAINER= acm@FreeBSD.org -COMMENT= Simple graphic IDE for the development of PIC-based applications - -LIB_DEPENDS= fam.0:${PORTSDIR}/devel/gamin \ - png15:${PORTSDIR}/graphics/png \ - jpeg.11:${PORTSDIR}/graphics/jpeg -RUN_DEPENDS= gpasm:${PORTSDIR}/devel/gputils - -USE_KDEBASE_VER=3 -GNU_CONFIGURE= yes -USE_GMAKE= yes -USE_AUTOTOOLS= libtool -LDFLAGS+= -L${LOCALBASE}/lib -pthread -CPPFLAGS+= -I${LOCALBASE}/include -CONFIGURE_ARGS+= --with-pic=yes -SUB_FILES= pkg-message - -OPTIONS_DEFINE= DEBUG NLS - -.include <bsd.port.options.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile on sparc64 -.endif - -.if ${PORT_OPTIONS:MDEBUG} -CONFIGURE_ARGS+= --enable-debug=full -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -.else -PLIST_SUB+= NLS="@comment " -.endif - -post-patch: - ${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's|-Wmissing-prototypes||g' ${WRKSRC}/configure - -post-configure: - ${REINPLACE_CMD} -e 's|^install-data-am: install-docs install-nls|install-data-am:|g' \ - ${WRKSRC}/doc/en/${MAKEFILE} -.if ! ${PORT_OPTIONS:MNLS} - ${REINPLACE_CMD} -e 's|^install-data-am: install-nls|install-data-am:|g' ${WRKSRC}/po/Makefile -.endif - -post-install: - ${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/devel/pikdev/distinfo b/devel/pikdev/distinfo deleted file mode 100644 index 276738c61bb5..000000000000 --- a/devel/pikdev/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (pikdev-0.9.2-1.tar.gz) = 52512962aec1df0dc0f76035dd20799676ec7dfac7a4cfc2cac95bdf3993ac6b -SIZE (pikdev-0.9.2-1.tar.gz) = 1301179 diff --git a/devel/pikdev/files/patch-pikdev_Config.cpp b/devel/pikdev/files/patch-pikdev_Config.cpp deleted file mode 100644 index 9e11516765c9..000000000000 --- a/devel/pikdev/files/patch-pikdev_Config.cpp +++ /dev/null @@ -1,29 +0,0 @@ ---- src/Config.cpp Mon Jul 31 18:21:46 2006 -+++ src/Config.cpp Mon Jul 31 18:22:14 2006 -@@ -123,7 +123,7 @@ - vdd = conf->readNumEntry("vdd", -4 ) ; - vpp = conf->readNumEntry("vpp", -5 ) ; - clkdelay = conf->readNumEntry("clkdelay", 0 ) ; -- port = conf->readEntry("device", "/dev/parport0" ) ; -+ port = conf->readEntry("device", "/dev/ppi0" ) ; - } - - -@@ -142,7 +142,7 @@ - vdd = conf->readNumEntry("vdd", 5 ) ; - vpp = conf->readNumEntry("vpp", 3 ) ; - clkdelay = conf->readNumEntry("clkdelay", 0 ) ; -- port = conf->readEntry("device", "/dev/ttyS0" ) ; -+ port = conf->readEntry("device", "/dev/sio0" ) ; - } - - void Config::getSer555PortConfig(QString &port, int &vpp, int& vdd, int &clock, -@@ -159,7 +159,7 @@ - vdd = conf->readNumEntry("vdd", 5 ) ; - vpp = conf->readNumEntry("vpp", 3 ) ; - clkdelay = conf->readNumEntry("clkdelay", 0 ) ; -- port = conf->readEntry("device", "/dev/ttyUSB0" ) ; -+ port = conf->readEntry("device", "/dev/usb" ) ; - } - - /** Write informations about known standard programming cards */ diff --git a/devel/pikdev/files/patch-pikdev_uparport.cc b/devel/pikdev/files/patch-pikdev_uparport.cc deleted file mode 100644 index d5fa7704e628..000000000000 --- a/devel/pikdev/files/patch-pikdev_uparport.cc +++ /dev/null @@ -1,163 +0,0 @@ ---- src/uparport.cc Sat Jun 24 13:21:15 2006 -+++ src/uparport.cc Sat Jun 24 14:31:29 2006 -@@ -25,23 +25,23 @@ - struct parport::pintable parport::pin_table[26] = - { - { NA, NA ,0x00, &parport::errimg }, /* pin 0 Invalid pin # */ -- { PPRCONTROL, PPWCONTROL,0x01, &parport::controlimg }, /* pin 1 (out) !strobe */ -- { PPRDATA, PPWDATA ,0x01, &parport::dataimg },/* pin 2 (out) Data 0 */ -- { PPRDATA, PPWDATA ,0x02, &parport::dataimg },/* pin 3 (out) Data 1 */ -- { PPRDATA, PPWDATA ,0x04, &parport::dataimg },/* pin 4 (out) Data 2 */ -- { PPRDATA, PPWDATA ,0x08, &parport::dataimg },/* pin 5 (out) Data 3 */ -- { PPRDATA, PPWDATA ,0x10, &parport::dataimg },/* pin 6 (out) Data 4 */ -- { PPRDATA, PPWDATA ,0x20, &parport::dataimg },/* pin 7 (out) Data 5 */ -- { PPRDATA, PPWDATA ,0x40, &parport::dataimg },/* pin 8 (out) Data 6 */ -- { PPRDATA, PPWDATA ,0x80, &parport::dataimg },/* pin 9 (out) Data 7 */ -- { PPRSTATUS, NA ,0x40, &parport::statusimg },/* pin 10 (in) !ack */ -- { PPRSTATUS, NA ,0x80, &parport::statusimg }, /* pin 11 (in) busy */ -- { PPRSTATUS, NA ,0x20, &parport::statusimg }, /* pin 12 (in) Pout */ -- { PPRSTATUS, NA ,0x10, &parport::statusimg }, /* pin 13 (in) Select */ -- { PPRCONTROL, PPWCONTROL,0x02, &parport::controlimg },/* pin 14 (out) !feed */ -- { PPRSTATUS, NA ,0x08, &parport::statusimg },/* pin 15 (in) !error */ -- { PPRCONTROL, PPWCONTROL,0x04, &parport::controlimg },/* pin 16 (out) !init */ -- { PPRCONTROL, PPWCONTROL,0x08, &parport::controlimg },/* pin 17 (out) !SI */ -+ { PPIGCTRL, PPISCTRL ,0x01, &parport::controlimg }, /* pin 1 (out) !strobe */ -+ { PPIGDATA, PPISDATA ,0x01, &parport::dataimg },/* pin 2 (out) Data 0 */ -+ { PPIGDATA, PPISDATA ,0x02, &parport::dataimg },/* pin 3 (out) Data 1 */ -+ { PPIGDATA, PPISDATA ,0x04, &parport::dataimg },/* pin 4 (out) Data 2 */ -+ { PPIGDATA, PPISDATA ,0x08, &parport::dataimg },/* pin 5 (out) Data 3 */ -+ { PPIGDATA, PPISDATA ,0x10, &parport::dataimg },/* pin 6 (out) Data 4 */ -+ { PPIGDATA, PPISDATA ,0x20, &parport::dataimg },/* pin 7 (out) Data 5 */ -+ { PPIGDATA, PPISDATA ,0x40, &parport::dataimg },/* pin 8 (out) Data 6 */ -+ { PPIGDATA, PPISDATA ,0x80, &parport::dataimg },/* pin 9 (out) Data 7 */ -+ { PPIGSTATUS, NA ,0x40, &parport::statusimg },/* pin 10 (in) !ack */ -+ { PPIGSTATUS, NA ,0x80, &parport::statusimg }, /* pin 11 (in) busy */ -+ { PPIGSTATUS, NA ,0x20, &parport::statusimg }, /* pin 12 (in) Pout */ -+ { PPIGSTATUS, NA ,0x10, &parport::statusimg }, /* pin 13 (in) Select */ -+ { PPIGCTRL, PPISCTRL,0x02, &parport::controlimg },/* pin 14 (out) !feed */ -+ { PPIGSTATUS, NA ,0x08, &parport::statusimg },/* pin 15 (in) !error */ -+ { PPIGCTRL, PPISCTRL,0x04, &parport::controlimg },/* pin 16 (out) !init */ -+ { PPIGCTRL, PPISCTRL,0x08, &parport::controlimg },/* pin 17 (out) !SI */ - { NA, NA , 0x00, &parport::errimg }, /* pin 18 GND */ - { NA, NA , 0x00, &parport::errimg }, /* pin 19 GND */ - { NA, NA , 0x00, &parport::errimg }, /* pin 20 GND */ -@@ -68,7 +68,6 @@ - int parport::yield() - { - if(fd == -1) return -1; -- return ioctl(fd,PPYIELD) ; - } - - // -------------------------------------------------------- -@@ -83,22 +82,15 @@ - - int k; - -- if( ((sscanf(np,"/dev/parport%d",&k) == 1) || (sscanf(np,"/dev/parports/%d",&k) == 1)) -+ if( ((sscanf(np,"/dev/ppi%d",&k) == 1) || (sscanf(np,"/dev/ppi/%d",&k) == 1)) - && (k >= 0) && (k < 10)) - { - // seems correct .. - fd = open(np, O_RDWR) ; - -- if( fd != -1) -+ if( fd != 0) - { -- if( (k = ioctl(fd, PPCLAIM)) != 0) -- { -- char b[200] ; -- sprintf(b,"parport::setport (%.150s must be rw enabled)", np); -- perror(b) ; -- ::close(fd) ; -- fd = -1 ; -- } -+ return ; - } - else - perror("Cannot open parallel port") ; -@@ -110,7 +102,7 @@ - - int parport::writedata(unsigned char x) - { -- int s = ioctl(fd,PPWDATA,&x); -+ int s = ioctl(fd,PPISDATA,&x); - if( s ) - perror("parport::writedata") ; - else -@@ -120,7 +112,7 @@ - - int parport::readdata(unsigned char& x) - { -- int s = ioctl(fd,PPRDATA,&x); -+ int s = ioctl(fd,PPIGDATA,&x); - if( s ) - perror( "parport::readdata") ; - else -@@ -131,7 +123,7 @@ - - int parport::writecontrol(unsigned char x) - { -- int s = ioctl(fd,PPWCONTROL,&x); -+ int s = ioctl(fd, PPISCTRL,&x); - if( s ) perror( "parport::writecontrol") ; - else controlimg = x ; - return s ; -@@ -139,7 +131,7 @@ - - int parport::readcontrol(unsigned char& x) - { -- int s = ioctl(fd,PPRCONTROL,&x); -+ int s = ioctl(fd, PPIGCTRL,&x); - if( s ) - perror("parport::readcontrol"); - else -@@ -160,7 +152,7 @@ - - int parport::readstatus(unsigned char& x) - { -- int s = ioctl(fd,PPRSTATUS,&x); -+ int s = ioctl(fd,PPIGSTATUS,&x); - if( s ) - perror("parport::readstatus") ; - else -@@ -235,34 +227,18 @@ - int fd = open(pname, O_RDWR) ; - if( fd == -1 ) return -2 ; - -- int k = ioctl(fd, PPCLAIM) ; -- -- if( k != 0 ) -- { -- ::close(fd) ; -- return -1 ; -- } -- -- ioctl(fd,PPRELEASE) ; -- -- ::close(fd) ; -+ ::close(fd) ; - - return 0 ; -- - } - /** No descriptions */ - void parport::close() - { -- if( fd != -1) -- { -- int stat = ioctl(fd,PPRELEASE) ; -- ::close(fd) ; -- if( stat != 0) -- { -- perror("parport::~parport") ; -- } -- } -- fd = -1 ; -+ if( fd != -1) -+ { -+ ::close(fd) ; -+ } -+ fd = -1 ; - } - bool parport::isok() - { diff --git a/devel/pikdev/files/patch-pikdev_uparport.hh b/devel/pikdev/files/patch-pikdev_uparport.hh deleted file mode 100644 index a0e4f3662c4f..000000000000 --- a/devel/pikdev/files/patch-pikdev_uparport.hh +++ /dev/null @@ -1,16 +0,0 @@ ---- src/uparport.hh Sat Jun 24 13:19:29 2006 -+++ src/uparport.hh Sat Jun 24 13:20:31 2006 -@@ -15,10 +15,10 @@ - extern "C" - { - #include <sys/ioctl.h> --// in RedHat & Mandrake distro, ppdev.h is into /usr/include/linux --#include <linux/ppdev.h> - #include <sys/time.h> --// #include <sys/io.h> -+#include <machine/cpufunc.h> -+#include <dev/ppbus/ppi.h> -+#include <dev/ppbus/ppbconf.h> - #include <fcntl.h> - } - diff --git a/devel/pikdev/files/pkg-message.in b/devel/pikdev/files/pkg-message.in deleted file mode 100644 index 1eec14f93281..000000000000 --- a/devel/pikdev/files/pkg-message.in +++ /dev/null @@ -1,21 +0,0 @@ -############################################################################### - -1) Add your user to wheel group -2) Modify user and group permissions of /dev/ppi0 to read/write. - - - FreeBSD 4.x - * chown root:wheel /dev/ppi0 - * chmod 660 /dev/ppi0 - - - FreeBSD >= 5.x - * Add these lines into /etc/devfs.conf - - own ppi0 root:wheel - perm ppi0 0660 - - * Run sh /etc/rc.d/devfs restart - -3) Run pikdev (gui) or pkp (cli) -4) Enjoy it ;) - -############################################################################### diff --git a/devel/pikdev/pkg-descr b/devel/pikdev/pkg-descr deleted file mode 100644 index 8e0405fa57e4..000000000000 --- a/devel/pikdev/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -PiKdev is a simple graphic IDE for the development of PIC-based applications. -It currently supports assembly language. C language is also supported for PIC -18 devices. PiKdev is developed in C++ under Linux, FreeBSD and is based on -the KDE environment. - -WWW: http://pikdev.free.fr/ diff --git a/devel/pikdev/pkg-plist b/devel/pikdev/pkg-plist deleted file mode 100644 index 609928e15e2b..000000000000 --- a/devel/pikdev/pkg-plist +++ /dev/null @@ -1,48 +0,0 @@ -bin/pikdev -bin/pkp -share/applnk/Utilities/pikdev.desktop -share/apps/katepart/syntax/picsrc_pikdev.xml -share/apps/pikdev/pics/splash.png -share/apps/pikdev/pikdev-main.rc -share/apps/pikdev/pikdev-prg.rc -share/icons/hicolor/16x16/actions/pikdev_addcurrentfile.png -share/icons/hicolor/16x16/actions/pikdev_addfile.png -share/icons/hicolor/16x16/actions/pikdev_burnchip.png -share/icons/hicolor/16x16/actions/pikdev_closeproject.png -share/icons/hicolor/16x16/actions/pikdev_compile.png -share/icons/hicolor/16x16/actions/pikdev_createproject.png -share/icons/hicolor/16x16/actions/pikdev_chip.png -share/icons/hicolor/16x16/actions/pikdev_decompile.png -share/icons/hicolor/16x16/actions/pikdev_editproject.png -share/icons/hicolor/16x16/actions/pikdev_erasechip.png -share/icons/hicolor/16x16/actions/pikdev_find_next.png -share/icons/hicolor/16x16/actions/pikdev_find_previous.png -share/icons/hicolor/16x16/actions/pikdev_openproject.png -share/icons/hicolor/16x16/actions/pikdev_readchip.png -share/icons/hicolor/16x16/actions/pikdev_verifychip.png -share/icons/hicolor/16x16/apps/pikdev.png -share/icons/hicolor/22x22/actions/pikdev_addcurrentfile.png -share/icons/hicolor/22x22/actions/pikdev_addfile.png -share/icons/hicolor/22x22/actions/pikdev_burnchip.png -share/icons/hicolor/22x22/actions/pikdev_closeproject.png -share/icons/hicolor/22x22/actions/pikdev_compile.png -share/icons/hicolor/22x22/actions/pikdev_createproject.png -share/icons/hicolor/22x22/actions/pikdev_chip.png -share/icons/hicolor/22x22/actions/pikdev_decompile.png -share/icons/hicolor/22x22/actions/pikdev_editproject.png -share/icons/hicolor/22x22/actions/pikdev_erasechip.png -share/icons/hicolor/22x22/actions/pikdev_find_next.png -share/icons/hicolor/22x22/actions/pikdev_find_previous.png -share/icons/hicolor/22x22/actions/pikdev_openproject.png -share/icons/hicolor/22x22/actions/pikdev_readchip.png -share/icons/hicolor/22x22/actions/pikdev_verifychip.png -share/icons/hicolor/32x32/actions/pikdev_config_asm.png -share/icons/hicolor/32x32/actions/pikdev_config_general.png -share/icons/hicolor/32x32/actions/pikdev_config_prg.png -share/icons/hicolor/32x32/apps/pikdev.png -%%NLS%%share/locale/de/LC_MESSAGES/pikdev.mo -%%NLS%%share/locale/es/LC_MESSAGES/pikdev.mo -%%NLS%%share/locale/fr/LC_MESSAGES/pikdev.mo -%%NLS%%share/locale/it/LC_MESSAGES/pikdev.mo -@dirrm share/apps/pikdev/pics -@dirrm share/apps/pikdev |