yes i did change the config.h file to suit the pin outs for SCK, MOSI,MISO and CS.
this is the config.h file
#ifndef _CONFIG_H_
#define _CONFIG_H_
#include <stdio.h>
#include <avr/eeprom.h>
#include <avr/boot.h>
#define MYMAC1 0x02
#define MYMAC2 0x01
#define MYMAC3 0x02
#define MYMAC4 0x03
#define MYMAC5 0x04
#define MYMAC6 0x99
// BOOTLOADER_FLAVOR selects the version to build (see docs)
// allowed values are: SMALL, MEDIUM, LARGE
#define BL_VERSION_SMALL 1
#define BL_VERSION_MEDIUM 2
#define BL_VERSION_LARGE 3
// makefile will pass the definition thru the compiler
// #define BOOTLOADER_FLAVOR BL_VERSION_SMALL
#if BOOTLOADER_FLAVOR >= BL_VERSION_MEDIUM
#define USE_DHCP
#define DHCP_PARSE_TFTP_PARAMS
#else
#define FIXED_TFTP_SRV
#endif
#define DEBUG_AV 0
#define DEBUG_ENC_BUFFER_DATA 0
#define DEBUG_FLASH_PROG 0
#define DEBUG_TFTP 0
#define DEBUG_ARP 0
//-> enc28j60
#define USE_ENC28J60 1
// set these so that it reflects your hardware
// Net-IO board from Pollin
// #define ENC28J60_CONTROL_DDR DDRB
// #define ENC28J60_CONTROL_PORT PORTB
// Board Jan
#define ENC28J60_CONTROL_DDR DDRD
#define ENC28J60_CONTROL_PORT PORTD
#define ENC28J60_PIN_SCK 13
#define ENC28J60_PIN_MISO 12
#define ENC28J60_PIN_MOSI 11
// Net-IO board from Pollin
//#define ENC28J60_PIN_CS 4
// Board Jan
#define ENC28J60_PIN_CS 10
// -> SPI
#define SPI_PORT PORTB
#define SPI_DDR DDRB
#define MISO ENC28J60_PIN_MISO
#define MOSI ENC28J60_PIN_MOSI
#define SCK ENC28J60_PIN_SCK
#if defined (__AVR_ATmega64__) || defined (__AVR_ATmega644__) || defined (__AVR_ATmega644P__) || defined (__AVR_ATmega128__)
#define MTU_SIZE 1200
#else
#define MTU_SIZE 600
#endif
/////////////////////////////// HELPERS ////////////////////////////////////////////
//DO NOT CHANGE ANYTHING BELOW!
//convert config ip to long:
#define IP(a0,a1,a2,a3) ((((unsigned long)(a3))<<24)|(((unsigned long)(a2))<<16)|(((unsigned long)(a1))<<8)|(unsigned long)(a0))
/*#define NIC_IP_ADDRESS \
(((uint32_t)NIC_IP_ADDRESS_0)<<24 | \
((uint32_t)NIC_IP_ADDRESS_1)<<16 | \
((uint32_t)NIC_IP_ADDRESS_2)<< 8 | \
((uint32_t)NIC_IP_ADDRESS_3))
#define NIC_IP_NETMASK \
(((uint32_t)NIC_IP_NETMASK_0)<<24 | \
((uint32_t)NIC_IP_NETMASK_1)<<16 | \
((uint32_t)NIC_IP_NETMASK_2)<< 8 | \
((uint32_t)NIC_IP_NETMASK_3))
#define NIC_GATEWAY_IP_ADDRESS \
(((uint32_t)NIC_GATEWAY_IP_ADDRESS_0)<<24 | \
((uint32_t)NIC_GATEWAY_IP_ADDRESS_1)<<16 | \
((uint32_t)NIC_GATEWAY_IP_ADDRESS_2)<< 8 | \
((uint32_t)NIC_GATEWAY_IP_ADDRESS_3))
#define NTP_SERVER_IP_ADDRESS \
(((uint32_t)NTP_SERVER_IP_ADDRESS_0)<<24 | \
((uint32_t)NTP_SERVER_IP_ADDRESS_1)<<16 | \
((uint32_t)NTP_SERVER_IP_ADDRESS_2)<< 8 | \
((uint32_t)NTP_SERVER_IP_ADDRESS_3))
*/
#define lo8(x) ((x )&0xFF)
#define hi8(x) (((x)>>8)&0xFF)
// Debugging
#if DEBUG_AV
#include <avr/pgmspace.h>
void sendchar (unsigned char Zeichen) BOOTLOADER_SECTION;
void puthexbyte(uint8_t bt) BOOTLOADER_SECTION;
void putstring (unsigned char *string) BOOTLOADER_SECTION;
void putPGMstring(const char *progmem_s) BOOTLOADER_SECTION;
#define putpgmstring(__s) putPGMstring(PSTR(__s))
#endif
#endif