Create metaboxes based on custom post type

When defining your MetaBox before registering it, just set the PostTypes it is applicable for:

$f711_meta_boxes[] = array(
    'id' => 'details',
    'title' => __( 'Details', 'f711_theme' ),
    'pages' => array( 'publicity' ), // change this values
    'context' => 'normal',
    'priority' => 'high',
    'fields' => array(

        array(
            'name' => __( 'Fischi ist', 'f711_theme' ),
            'desc' => __( 'Jaja, Beschreibung', 'f711_theme' ),
            'id' => 'f711_is',
            'type' => 'select',
            'options' => array( __( 'gut', 'f711_theme' ), __( 'super', 'f711_theme' ))
        )

    )
);